The amount of oxygen in your blood drops when your lungs can't get enough air. The brain automatically wakes you up and normal breathing starts again, often with a loud snort or a choking sound.