If you're in your 20s, you might work out because it's fun, or because it makes you look better. But here's another reason to hit the gym or go for a jog — exercising now may help preserve your memory and cognition later in life.

Researchers figured this out by following 2,700 men and women for 25 years as part of the Coronary Artery Risk Development in Young Adults Study.