While eating nutritious foods such as vegetables or protein-rich meat can be a great way to maintain a healthy diet, it's equally important to consider how you cook them. When planning healthier meals, you need to understand how cooking affects the nutrient content of foods.