The quality of the relationships that students have in class with their peers and teachers is important to their success in school.