To understand the event "The teacher gave the class homework.  All the students groaned.", it is important to know that why teacher gave that class homework