A continuous positive airway pressure (CPAP) machine is the most commonly prescribed device for treating sleep apnea disorders. It provides positive airway pressure through a mask, to splint the airways open during a person's sleep, to prevent snoring, airway obstructions and apneas from occurring.