The foods you eat play a role in keeping your brain healthy and can improve specific mental tasks, such as memory and concentration. Your brain uses omega-3s from fatty fish to build brain and nerve cells, and these fats are essential for learning and memory. Two main components in coffee caffeine and antioxidants help your brain stay more alert. Blueberries provide numerous health benefits, including some that are specifically for your brain. Eating whole grains is another way to benefit from the effects of vitamin E, with these grains being a good source of the vitamin. Peanuts also provide key vitamins and minerals to keep the brain healthy, including high levels of vitamin E and resveratrol. As well as being a low-calorie source of dietary fiber, broccoli may be good for the brain.