When it came to getting more fuel at less cost, our ancestors also learned to privilege high-calorie foods like nuts over low-calorie foods like leaves. To do this, the human body developed the ability to tell how many calories a food has, which in turn guides how much we like it, want it, and eat of it.