Gas exchange occurs as air enters via the trachea, bronchi, and bronchioles, where oxygen diffuses through the alveolar epithelium and capillary endothelium into the blood, down a diffusion gradient, while carbon dioxide diffuses through the capillary endothelium and alveolar epithelium into the alveoli, down a diffusion gradient