Oxygen exchange

Inhaled air in the alveoli has a higher concentration of oxygen than the blood arriving in the surrounding capillaries (which has released its oxygen to body tissues). Oxygen dissolves in the moist film lining the alveolus and diffuses across the thin wall (one cell thick for the alveolus, one cell thick for the capillary) into the blood plasma and then into red blood cells.

Inside red blood cells, oxygen binds to haemoglobin to form oxyhaemoglobin. This binding reaction removes free oxygen from the plasma, keeping the oxygen concentration in the blood low and maintaining the steep concentration gradient for continued diffusion.

Carbon dioxide exchange

Blood arriving at the alveoli from respiring tissues has a higher concentration of carbon dioxide than the air in the alveoli. Carbon dioxide diffuses out of the blood, across the alveolar wall, and into the alveolar air. It is then exhaled.

The concentration gradient for carbon dioxide is maintained by ventilation: each breath removes carbon dioxide-rich air from the alveoli and replaces it with fresh air containing little carbon dioxide. Without breathing, carbon dioxide would accumulate in the alveoli and the gradient would flatten, slowing exchange.

The two-gas summary

GasDirection of diffusionGradient maintained by
OxygenAlveolar air → bloodBlood flow carries oxygen away; haemoglobin binds oxygen, lowering free concentration
Carbon dioxideBlood → alveolar airVentilation removes CO₂-rich air and replaces it with fresh air

Both gases cross the same thin, moist surface by diffusion. No energy is required: the process is entirely passive and depends on concentration gradients.