BDNF gets all the credit, but the biggest memory benefit of exercise is simpler: it makes you more alert. That spike in catecholamines (dopamine, epinephrine, norepinephrine) opens a 1–6 hour window of heightened focus where learning is dramatically more efficient. What you do in that window is what matters.