Figs are a good source of potassium, a mineral that your brain needs to function properly. They also contain calcium, magnesium, iron, in addition to vitamin B-6, which can help your brain to produce neurotransmitters.