Anesthesia causes impairment of respiratory function through several mechanisms. It decreases functional residual capacity and lung compliance while increasing respiratory resistance. This leads to atelectasis in 15-20% of the lung and ventilation/perfusion mismatching. Maintaining muscle tone, applying positive end-expiratory pressure, recruitment maneuvers using sustained high inspiratory pressures, and limiting oxygen concentrations can help prevent atelectasis formation. Anesthesia also redistributes ventilation away from dependent lung regions and inhibits hypoxic pulmonary vasoconstriction.