Sleep apnea occurs when in-part or completely stop breathing when sleeping. This causes your lungs to strain harder for oxygen, and makes the brain send signals that jerk your body awake to resume proper breathing.