Foods are categorized based on their nutrient content: carbohydrates, proteins, fats, vitamins, and minerals. Carbohydrates provide energy, proteins are vital for growth, fats support cell structure, and vitamins and minerals regulate bodily functions. A balanced diet incorporating all these groups ensures optimal health and wellbeing. Examples include cereals, legumes, dairy, and fruits.