CPAP is continuous positive airway pressure. the idea behind CPAP is that to prevent throat muscles from collapsing shut, the CPAP gives the patient a continuous airstream into the patient's lungs.
The CPAP is not giving the patient oxygenation.  It just gives pressure to keep the throat muscles open so that when that patient is asleep, muscles that might close off do not close off.