There's something pretty amazing about taking a short break from the world, walking around, and inhaling fresh air. It is absolutely needful, especially when spending long hours in a particular spot doing work or processing learning. So go ahead, take a break!
p.s. don't bring your phone along to occupy yourself, unless you are taking photos to capture memories! :p Look around, look up! (: