It's wrong to text during class.
Zack is in history class and decides that after it would be fun for him and his classmate Lisa to hit the beach.
Zack wants to invite Lisa out.
Zack waits until after class to ask Lisa to go to the beach.
Zack pulls out his phone and instant messages Lisa his idea for them to go out to the beach later.
Lisa happily accepts Zacks invite, and she has fun at the beach.
Lisa's phone makes a sound from the text and the teacher puts her in detention.