B vitamins play a role in brain function. They can be found in various food types such as oily fish, meats, vegetables as well as grains, nuts and seeds.