CPAP machines are essentially a hose that has you breathe into water.
the water in the tank is heated to increase the humidity of the air circulating.
cpap machines work by increasing the air pressure on breath-ins and help open your airways by keeping your genioglossus tensor veli palatini muscles engaged.