Yawning is like a sleepy signal our brain sends out to others. When you see someone yawn, your brain thinks it's time for you to rest too, so you start yawning as well. It’s kind of like when one person in class starts stretching, and soon everyone else joins in.