Why do we yawn? We tend to yawn before sleep and after waking, when we are bored or under stimulated. We yawn in the anticipation of important events and when we are under stress. What do all of these have in common? Researchers highlight a link with thermoregulation, and in particular, brain cooling.