I agree that isolation is most important but exercise helps when learning new material. My wife suggested the increased oxygen uptake might have something to do with it; I'm guessing it's more (as in recitation or a lecture) that the exercise demands enough attention that one must concentrate somewhat to actively go over the material, but not so much attention that one's mind can't wander and find new connections.