How Lungs Work: Breathing and Alveoli

See how lungs work as you explore breathing, alveoli and gas exchange. A hands-on interaction illustrates the scale of the lungs' air sacs.

The lungs are paired organs in the chest that exchange oxygen and carbon dioxide between air and blood. Air enters through the nose or mouth, passes the pharynx, larynx and trachea, then travels through branching bronchi and smaller bronchioles. The branches end in millions of alveoli, tiny air spaces closely wrapped in capillaries. Their thin barrier allows oxygen to diffuse into blood while carbon dioxide moves from blood into the air to be exhaled.

The diaphragm and intercostal muscles change chest volume to move air in and out. At rest, breathing is usually quiet and automatic, with the brainstem adjusting the rhythm in response to carbon dioxide and other signals. Lung volume and airflow vary with body size, age, posture, effort and health, so single numbers are only typical examples. The pleural membranes allow the lungs to move smoothly against the chest wall, while surfactant helps reduce surface tension inside alveoli and prevents their collapse.

Oxygen carried by haemoglobin travels from the lungs to body tissues, where it supports cellular energy production. Carbon dioxide produced by metabolism returns in blood and is removed through exhalation. The airways also warm, humidify and filter inhaled air, and mucus plus cilia help move trapped particles upward. The interactive anatomy page traces this route and uses a surface-area analogy to make the scale of alveoli easier to picture; the analogy is not a direct measurement of an individual's lungs.

Common question

What is the path of oxygen through the respiratory system?

Oxygen enters through the nose or mouth, where it is filtered, warmed, and humidified. It passes through the pharynx, larynx, and trachea. At the carina, airflow splits into the right and left main bronchi, then progressively smaller bronchioles. Oxygen reaches the alveoli, crosses the 0.5 μm alveolar-capillary membrane by diffusion, and binds to hemoglobin in red blood cells. Simultaneously, carbon dioxide diffuses in the opposite direction, is exhaled during the next breath.