7 classes of food and their functions