To understand the event "The teacher gave the class homework.  All the students groaned.", it is important to know that If the teacher finds out that students have not done their homework, they may get bad grades.