Question: how what you eat affects you?
Answer: Serotonin: a chemical released after eating carbohydrates (sugars and starches). It enhances calmness, improves mood and lessens depression. ... 
Dopamine and norepinephrine: chemicals released after eating protein (meats, poultry, dairy, legumes). They enhance mental concentration and alertness.