The calorie content in food is a measure of how much potential energy food produces. 1g carbohydrate contains 4 calories, 1g protein contains 4 calories, and 1g fat contains 9 calories. Food is generally composed of these three substances. Therefore, as long as we know the contents of these three substances in food, we can know how much heat or energy food contains. From the perspective of losing weight, running is better than walking. The same time or distance consumes the same amount of calories, but running burns calories more efficiently.