Why is a Yawn Contagious?

Scientists don’t really understand exactly why yawning is contagious. The reaction we have of yawning may be left over from when we lived in tribes. When it was time for sleep, the reaction to yawning might have encouraged all to sleep at the same time.