To understand the event "The teacher gave the class homework.  All the students groaned.", it is important to know that If you do not like making the effort someone wants from you, you can show this by groaning.