To understand the event "The teacher gave the class homework.  All the students groaned.", it is important to know that Having homework means the students will have less time to do stuff they enjoy