Hypoxic pulmonary vasoconstriction is a paradoxical, physiological phenomenon in which pulmonary arteries constrict in the presence of hypoxia (low oxygen levels) without hypercapnia (high carbon dioxide levels), redirecting blood flow to alveoli with a higher oxygen content.
The process might at first seem illogical, as low oxygen levels should theoretically lead to increased blood flow to the lungs to receive increased gaseous exchange. However, it is explained by the fact that constriction leads to redistribution of bloodflow to better-ventilated areas of the lung, which increases the total area involved in gaseous exchange.
This improves ventilation/perfusion ratio and arterial oxygenation, but is less helpful in the case in long-term whole-body hypoxia. This is seen in COPD, at altitude and in heart failure.
Several factors inhibit this process including increased cardiac output, hypocapnia, hypothermia, acidosis/alkalosis, increased pulmonary vascular resistance, inhaled anesthetics, calcium channel blockers, PEEP, HFV, isoproterenol, nitrous oxide, and vasodilators.
Read more about Hypoxic Pulmonary Vasoconstriction: High Altitude Pulmonary Edema