Described herein is a continuous positive airway pressure (CPAP) device (100) for providing a constant pressure and flow to a patient. The CPAP device (100) comprises a stabilizing unit (102), a first gas source unit (104), and a patient interface unit (106). The first gas source unit (104) provides an input gas having a variable flow rate through an inlet port (108) of the stabilizing unit (102). A pressure stabilizer (110) of the stabilizing unit (102) receives the input airflow and expands and contracts to absorb variations in pressure and provides a continuous airflow at a controlled pressure. A flow meter (112) generates a regulated output airflow based on a preset flow rate. The output airflow is discharged through an outlet port (118) of the stabilizing unit (102) to the patient interface unit (106), which comprises a nasal cannula (120) to provide the output airflow to a patient and the valve (122) maintains a positive pressure.