Food serves as a primary source of energy, with carbohydrates, fats, and proteins supplying the body's fuel for daily activities and metabolism.