CPAP machines can be used to treat some conditions besides obstructive sleep apnea. CPAP therapy can be helpful in addressing some health problems that affect breathing and the ability of the lungs to get enough oxygen.  For instance, CPAP therapy may help some people with chronic obstructive pulmonary disease (COPD), respiratory failure, or heart failure. CPAP has also been studied in the treatment of people hospitalized with COVID-19.