A CPAP machine functions by supplying a constant flow of air through a mask that this user wears during sleep. This pressurized air helps you to avoid the airway from collapsing or becoming blocked, allowing the user to breathe normally through the night. The pressure setting is dependent upon a sleep specialist or healthcare professional depending on the individual’s needs.