This document discusses disorders of gas exchange, including hypercapnia (elevated carbon dioxide levels) and hypoxia (low oxygen levels). It provides mathematical equations to describe gas exchange in the lungs and blood. It then describes the causes, signs, and treatments of hypercapnia and hypoxia. Four case studies are presented to illustrate examples of patients experiencing hypercapnia or hypoxia.