When I run, I think about everything: physics, family problems, plans for the weekend. I haven't made any big discoveries on a run, but it does give me time to think through problems. Some solutions are obvious, but they are only obvious when you are relaxed enough to find them.
Running and science draw on similar traits - stamina, ambition, patience, and the ability to overcome limits.