Tamasic foods are those that have a sedative effect on the mind and body. In general, they are considered detrimental. According to yoga, these foods are to be avoided as they can cause mental dullness and physical numbness. However, in times of pain they are allowed to alleviate suffering.
Examples include: meat of an animal, fish, the fertilized egg, onion, garlic, scallion, leek, chive, mushroom, alcoholic beverages, durian, blue cheese, eggplant, opium, and any food which has been kept overnight before consumption.
Rajasic foods are those that have a stimulating effect on the mind and body. They are considered to be neither beneficial nor harmful. These foods lead to aggressiveness and irritability, and are often obtained in a way that harms another organism.
Examples include: caffeinated drinks (such as coffee, tea (both black and green), cola drinks, and energy drinks), brown or black chocolate, paan, ginkgo biloba, overly spicy food, salty food, and the unfertilized egg.
Sattvic foods are those that lead to clarity of mind and physical health. These foods are to be consumed on a regular basis. Sattvic foods are generally those which can be obtained without harming either another organism or one's self. Only Sattvic foods are acceptable as offerings to the Hindu gods, with rare exceptions.
Examples include: water, cereal grains, legumes, vegetables, fruits, nuts, unpasteurized and unhomogenized fresh milk and all fresh milk derivatives (mostly ghee, but also butter, cream, fresh or cottage cheese (paneer), and yogurt (lassi)), and raw honey.
Eggs are a very complicated case and don't have a clear cut answer. Since there's debate as to the validity of the sources that categorize it as Tamasic or Rajasic, I'd like to provide some moral insight here.
Specifically, I want to address "vegetarian eggs". A "vegetarian egg" or an egg without an embryo developing in it is produced when a hen does not mate with a rooster before laying the egg.
I have been taught that one reason such eggs are not considered suitable for consumption is that by preventing fertilization you are preventing the birth of an animal, which is considered unjust by some. The reasoning here is that blockading the creation of life is similar if not equal to extinguishing it.
Again, I don't have a source for this besides the personal teachings of my parents and gurus, so if someone has a reference from the scriptures that would be very helpful!
Sources (please add more as you edit, and remember to paraphrase):
From yogic perspective, this is what I found in Kriya Yoga book of Raga Ragini Trust, Mysore.
Our knowledge of food is usually based only on its gross material content like carbohydrate, protein, fats, vitamins, minerals, water and fiber.
Yogic concept of food takes into account the total dimension of human existence. Our gross body is formed of atoms and molecules. Apart from gross body we all possess prana, mind, intellect, emotions and spiritual dimension.
A balanced diet is therefore according to yoga is that diet which restores balance at all these levels. Only such diets can aid holistic living.
Foods to eat:
Whole grains promote the production of neurotransmitter serotonin that increases your sense of well being.
Green, yellow and orange vegetables and fruits are all rich in minerals, vitamins and phytochemicals which boost immune response and protect against disease.
Foods to avoid
Coffee and other caffeinated beverages: if you are currently addicted to coffee, drink black tea; it has less than a third of the caffeine of coffee and none of the harmful oils.
Fried foods and foods rich in fats are immune depressing, especially when stress is doing that as well.
Reduce animal foods. High protein foods elevate brain levels of dopamine and nor-epinephrine, both of which are associated with lower levels of anxiety and stress.
For better efficiency in body structuring, breathing pattern, managing mental and emotional imbalances one must change from high calorie meat diet to a low calorie vegetarian diet.
Yoga classifies food into 3 categories namely satvic, rajasic and tamasic.
Food that increases vitality, stamina, health, cheerfulness, appetite.
Its quality is savour, oleaginous, substantial (in values) and agreeable, fresh, wholesome (with nutrients) natural, balancedly cooked. Farm fresh fruits and vegetables, wholesome grains, fresh cow's milk belong to this category.
They give energy, lightness, agility and sharpness mind.
People in yoga, fine arts, intellectuals, scholars and social reformers like such foods.
Food that are bitter, sour, salty, hot, pungeant, dry and spicy.
Its quality: taste appeal, stimulating nerves, speeds up metabolism and hipes activity
Coffee, Tea, Pepper, Green Chillies and high quality wines are of this nature
They push aggressiveness, competitiveness, will enhance ego, restlessness, passionate, slow degeneration of fitness.
Men in army, administrators, sports persons, business and entrepreneurial persons like such food.
Stale, foul odour, artificial colored and flavored, preservatives added, cooked overnight, emulsifiers, fermented food or drinks, adulterated, leftover, prepared meat of animals dead long back, too cold, deep refrigerated foods are tamasic.
Such foods causes heaviness, lethargy and collapses faster.
Men of inertia like such food
One has to offer what he eats and what is available to him for god, but one has to mind the above points.
1. Sattva (the quality of goodness): Sattva is Calm, Saintly. Its brings up quality that allows spiritual holiness, forgiveness and submission to God. Foods dear to those in the mode of goodness increase the duration of life, purify one’s existence and give strength, health, happiness and satisfaction. Such foods are juicy, fatty, wholesome, and pleasing to the heart. BG reference
2. Raja (the quality of passion): Foods that are too bitter, too sour, salty, hot, pungent, dry and burning are dear to those in the mode of passion. Such foods cause distress, misery and disease. Onions and garlic fall into this category.BG reference
3. Tamas (the quality of ignorance): Food prepared more than three hours before being eaten, food that is tasteless, decomposed and putrid, and food consisting of remnants and untouchable things is dear to those in the mode of darkness.BG reference
We are what we eat, so you see. When you see the whole picture in Gunas perspective it will start making sense altogether. Why we can't eat certain types of foods, why we do not use some types of food in our Pujas (rituals or worship).
In order to be a saint/God's servant, humans must suppress raja and tamas guna, and eating sattvic food is a large part of that.
Like any library, Hinduism Stack Exchange shares great information, but does not offer personalized advice, and does not take the place of seeking such advice from any Acharya, Pundit, astrologer, Guru or other trustworthy Counselor.