Eating a whole-food diet rich in fruits, vegetables, whole grains, nuts and seeds, legumes and lean proteins are important for maintaining health and preventing disease. However, certain packaged foods you can buy in the grocery store can be a nutritious part of your diet.