The CPAP machine includes a motor that generates a continuous stream of air at a prescribed pressure. This air is delivered through a hose connected to a mask that fits over the nose or mouth. The steady air pressure ensures that the airway remains open, thus preventing airway collapse.