Understanding how this internal ecosystem works can help you make smarter choices about food, fitness, and lifestyle.