Folic acid.

According to one study, 200 micrograms of folic acid, the amount found in 3/4 cup of cooked spinach, alleviates depression and reverses memory loss.