Another way to say "Students attend classes in school" is "A school has students who attend classes."