Not really about oxygen
For years yawning was blamed on low oxygen, but experiments that changed the air people breathed did not change how much they yawned. The stronger current theory is thermoregulation: the deep inrush of air and the stretching of jaw muscles help cool the brain slightly, and we yawn most when a small cooling would help — when tired, bored, or just waking.
Yawning peaks around transitions — before sleep, after waking, before demanding events; athletes and paratroopers yawn before the big moment, which fits a brain tuning its temperature for alertness better than it fits sleepiness alone.
The catching part
Yawns are famously contagious: seeing, hearing, or even reading about a yawn triggers one in roughly half of adults. The catching tendency grows through childhood and is linked with social bonding and empathy circuits — we catch yawns most from people closest to us.
Many animals yawn, and some catch them too — dogs can catch human yawns. Whether every species' yawn does the same job is still an open question, which makes yawning one of those everyday mysteries science has genuinely not finished with.


