When we are sleepy or feel drowsy, we yawn because our brain cells lack sufficient amount of oxygen. So, we yawn to gather a large amount of oxygen for brain cells to function properly.