Carbohydrates, fats, and proteins are the nutrients that provide calories and serve as the main energy sources.