Neonatal sleep apnea is a condition characterized by pauses in breathing that last for more than 20 seconds. These episodes can occur in preterm infants as well as full-term newborns. The condition can be classified into three types: central apnea, obstructive apnea, and mixed apnea.