Another way to say "going to school is for learning things" is "School is for learning things"