Although we often tend to think of it as a thing apart, the brain, like a muscle or heart or liver, is part of the body; what happens in the body affects the brain and vice versa.
Good nutrition (vs. junk food), adequate sleep (vs. burning the candle at both ends), and active living (vs. passive screen time) all promote brain health, learning, mood stability, and impulse control.