There are several valid reasons why students are in school. Here's one possible sentence:
"Students attend school to receive an education, develop critical thinking skills, learn social skills, and prepare for their future careers and personal lives."