Exercise improves brain function across all cognitive domains including global cognition, executive function, memory, attention and information processing. The effects were strongest in older individuals but also present in healthy adults and children. Strength training was most effective at improving brain functioning. Lifting weights makes you smarter [1].
[1] M.Zhang, et al. “effects of exercise intervention on cognitive function in healthy populations: A systemic review and meta-analysis”