Animals yawn based on how large their brain is. The bigger the brain, the longer it will yawn.
100 Mind-Blowing Yawn Facts
The human brain uses 20% of the oxygen in your body. This is continuous and it does not rest even when we sleep. This is why when people yawn it is believed to be the brain’s way of cooling down.
An average yawn lasts six seconds.