Vitamin C also has detoxifying effects, and due to its ability to cross your blood-brain barrier, it can help remove heavy metals from your brain. Vitamin D, a steroid hormone produced in your skin in response to sun exposure, also has profound effects on your brain.