Scientists do not purport to know all of the biological mechanisms of the yawn, but tend to agree that a yawn is an involuntary respiratory reflex, which regulates the carbon dioxide and oxygen levels in the blood. Technically, a yawn is the reflex opening of the mouth followed by the deep inhalation and slow exhalation of oxygen. The very act of yawning is but one of a number of involuntary reflexes controlled by the spinal and nerve centers. Scientists speculate that the onset of a yawn is triggered either by fatigue, or by sheer boredom as, at those times, breathing is shallow, and little oxygen is carried to the lungs by the oxygen-toting cardiovascular system. When one yawns, his or her alertness is heightened, as the sudden intake of oxygen increases the heart rate, rids the lungs and the bloodstream of the carbon dioxide buildup, and forces oxygen through blood vessels in the brain, while restoring normal breathing and ventilating the lungs.
The most plausible explanation, and the one that is taught in medical school, is that we yawn because oxygen levels in our lungs are low. Studies have shown that during normal, at-rest breathing, we don’t use anywhere near our lung capacity; for the most part, we just use the air sacs at the bottom of the lungs. If the air sacs, called alveoli, don’t get fresh air, they partially collapse and the lungs stiffen a bit. As a result, it’s believed, our brain prompts the body to either sigh or take a yawn to get more air into the lungs. But certain aspects of yawning remain even more mysterious. Fetuses, for instances, have been observed yawning in the womb, yet it’s known that they don’t take oxygen in through their lungs. And yawning seems to be a symptom of multiple sclerosis and other medical conditions, for reasons unclear.