Definition
Every cell needs oxygen and must get rid of carbon dioxide, and the lungs are where that trade with the outside air happens. This note explains how the lungs are built and how a breath is pumped in and out. It also explains what keeps the air sacs open, and why straining against a closed throat can make a weightlifter faint.
1. What the lungs are for
The lungs exist to swap gases between air and blood. Every cell burns fuel with oxygen and makes carbon dioxide as waste. The body therefore needs somewhere for oxygen to get in and carbon dioxide to get out. Oxygen moves from the air in the alveoli into the blood, and carbon dioxide moves the other way and is breathed out. The alveoli are the tiny air sacs at the ends of the airways where this happens.
The swap needs a huge contact surface. The lungs provide 70 to 100 square metres of it, about the floor of a small flat, folded into the chest. An adult's lungs weigh about 1 kg and hold 4 to 6 L of air. Only 10 per cent of the lung is solid tissue, and the rest is air and blood.
2. The alveoli
The alveoli are the working part of the lung, and there are about 600 million of them. Blood reaches them through the pulmonary circulation, the loop from the right side of the heart through the lungs and back (Circulation Overview – Circuits, Vessels and the MAP Equation). The alveoli receive the largest blood supply of any organ.
Air and blood meet across an extremely thin wall. The alveolar wall is one cell thick and shares a fused membrane with the wall of the capillary, the tiny blood vessel pressed against it. The whole barrier is only 0.2 to 2.5 micrometres thick, many times thinner than a human hair. The thinner the barrier, the faster gases cross it.
Small pores join neighbouring alveoli, and they are fully developed by 3 to 4 years of age. They let surfactant, a detergent-like film that makes the alveoli easier to inflate, spread from sac to sac. They also let air pass sideways, so a sac whose own airway is blocked is still ventilated by its neighbours (collateral ventilation). This helps prevent collapse. At rest, every minute, 250 mL of oxygen leave the alveoli for the blood and 200 mL of carbon dioxide come the other way.
3. The two zones of the airways
Air reaches the alveoli through a branching tree of tubes, which falls into two zones with different jobs. Air enters at the nose and mouth and passes the throat (pharynx), the voice box (larynx) and the windpipe (trachea). It then enters the bronchi, which keep dividing into narrower bronchioles.
The first zone is the conducting zone: the trachea, bronchi and bronchioles. These tubes carry air but have no alveoli, so no gas is exchanged in them. The air left in them at the end of a breath in never meets blood and is simply breathed out again. Air that is moved in and out without taking part in exchange is called dead space. The anatomic dead space is about 150 mL, a small teacup of air.
Besides carrying air, the conducting zone warms and moistens it, filters out particles, makes the voice and secretes antibodies into the airway lining. Those antibodies belong to the defences described in The Lung’s First Line of Defence – Nose, Cilia, Mucus and Antimicrobial Peptides, and the cost of the dead space is worked out in Minute and Alveolar Ventilation – Dead Space, the Ventilation–Perfusion Ratio and Shunt.
The second zone is the transitional and respiratory zone: the respiratory bronchioles, alveolar ducts and alveoli. This is where gas exchange happens and surfactant is made. Its cells also activate and inactivate molecules in the passing blood, help regulate clotting, release hormones and house immune cells of the inborn (innate) defences.

4. Why air slows down deep in the lung
All that branching changes how the air moves, because it changes how much room the air has. Each time an airway divides, the two new tubes are narrower than the parent, but added together their cross-section is bigger. After sixteen divisions the total cross-sectional area, the combined area of all the tubes cut across at one level, is enormous. The same stream of air now has far more room, so its forward speed falls sharply.
Slow flow has two consequences. First, the flow stays laminar, meaning smooth and streamlined rather than swirling. Laminar flow meets little resistance, so it costs the breathing muscles little effort.
Second, in the deepest lung the air hardly flows at all. Until then it moved by bulk flow (convection), a whole stream pushed along a tube by a pressure difference. Beyond that point gas moves by diffusion, the random drift of molecules from where they are plentiful to where they are scarce. Over the tiny distances inside an alveolus diffusion is fast enough on its own. The same rule linking total area to speed makes blood crawl through the capillaries (Circulation Overview – Circuits, Vessels and the MAP Equation).

The graph plots total cross-sectional area, in square centimetres, against airway generation from 0 to 23. The curve lies almost flat through the whole conducting zone, because the tubes are few and their areas add up to little. At the terminal bronchioles, the last tubes of the conducting zone at about generation 16, it bends sharply upward and shoots past 300 square centimetres. That bend is the river reaching its delta: air speed falls exactly where the area rises, and diffusion takes over.
5. Breathing in
The breathing muscles draw air in by making the chest bigger, which lowers the pressure inside the lungs. The main muscle is the diaphragm, a dome of muscle under the lungs that separates the chest from the belly. When it contracts it flattens and moves down toward the belly, making the chest longer. At the same time the outer rib muscles (external intercostals) contract and lift the ribs up and outward, making the chest wider. Breathing in is therefore always active: the inspiratory muscles contract to draw air in, while the expiratory muscles, which squeeze air out, stay relaxed. The lungs cling to the inside of the chest wall, so they are pulled open with it.
Expanding the lungs lowers the pressure of the air already inside them. This is Boyle’s law: when a gas is given more room, its pressure falls, and when it is squeezed into less room, its pressure rises. As the chest expands, the pressure inside the lungs, the intrapulmonary pressure, drops slightly below atmospheric pressure, the pressure of the air outside. Air always flows from higher pressure to lower, so air flows in and the lungs inflate. Pulling back the plunger of a syringe draws air in for exactly the same reason.
Breathing in ends when the chest stops expanding. By then enough air has entered to bring the pressure inside back up to atmospheric pressure.
6. Breathing out
Breathing out reverses the process, and it can be passive or active. At rest and in light exercise expiration is passive, meaning no muscle has to push. Breathing in stretched the elastic lung tissue and chest wall, so when the diaphragm and rib muscles (the inspiratory muscles) relax, the tissue springs back. This springing back, like a stretched balloon let go, is called elastic recoil. The sternum and ribs drop, the diaphragm rises back into its dome, and the chest shrinks.
In vigorous exercise breathing out becomes active, because recoil alone cannot empty the lungs fast enough. The expiratory muscles contract: the abdominal muscles and the inner rib muscles (internal intercostals). They pull the ribs down and push the belly contents up against the diaphragm, which squeezes the chest hard and fast. Either way the shrinking chest compresses the alveolar gas, its pressure rises above atmospheric pressure, and air flows out. Expiration ends when the squeeze stops and intrapulmonary pressure has fallen back to atmospheric pressure.

7. Surfactant and compliance
Inflating the alveoli is harder than it looks, because they are wet. Each alveolus is lined with a thin layer of fluid, and water molecules attract one another strongly. At a wet surface this attraction creates surface tension, a pull that tries to shrink the surface as much as possible. It is the force that makes a water drop bead up.
In a wet bubble like an alveolus this pull tends to collapse the bubble. It is strongest in small bubbles, because a sharper curve points more of the pull inward. A small bubble therefore has a higher collapsing pressure than a large one, so the smallest alveoli would collapse first.
Surfactant is the lung’s answer. The alveolus is lined by two kinds of cell: type I cells form the thin exchange wall and type II cells make surfactant. Surfactant, short for surface active agent, is a detergent-like mixture of proteins, fatty molecules called phospholipids, and calcium. Like a detergent it spreads over the water layer and breaks up the attraction between the water molecules at the surface, which lowers surface tension.
Lower surface tension makes the lungs easier to stretch, and this ease of stretching is called compliance. Compliance is how much the lungs and chest expand for a given change in pressure. A highly compliant lung inflates easily, like a soft balloon rather than a stiff one.
Surfactant therefore raises compliance, so less work is needed to inflate and deflate the alveoli with each breath. Without surfactant the smaller alveoli collapse, a state called atelectasis. Surfactant also helps prevent oedema, the flooding of the air sacs with fluid. Unchecked surface tension would suck fluid out of the capillaries into the air space.
Compliance is one of two things that set how much air the lungs can move. The air moved in a minute depends on the size of the biggest breath and on how fast the breaths come. Both depend on compliance and on airway resistance, how much the tubes resist the flow of air through them. Age, disease, the shape of the ribcage, the environment and genetics all affect these two properties. The breath sizes themselves are measured in Lung Volumes and Capacities – Spirometry, FEV1 and FVC.
8. Straining against a closed throat: the Valsalva manoeuvre
The breathing muscles can also brace the body rather than move air, and that is what the Valsalva manoeuvre does. The glottis is the opening between the vocal cords, at the top of the windpipe. The Valsalva manoeuvre is a forced exhalation against a closed glottis. The person shuts the glottis and squeezes with the expiratory muscles as if breathing out, but no air can leave.
The pressures involved are large. In quiet breathing the pressure inside the lungs swings by only about 3 millimetres of mercury (mmHg) either side of atmospheric pressure. In a Valsalva the pressure inside the chest can rise as much as 150 mmHg above atmospheric pressure. In the abdomen it rises even higher.
People do this instinctively when lifting something heavy. The expiratory muscles brace the chest and abdomen during a lift, and a closed glottis turns the chest into a rigid, pressurised column. The manoeuvre is therefore thought to help a lift by improving leverage. The cost is the pressure itself. The very high abdominal pressure can push tissue through a weak point in the abdominal wall, producing a hernia.
Holding the strain too long causes a second problem, this time for the circulation. The big veins that return blood to the heart pass through the chest, and the blood in them is at low pressure. The high chest pressure therefore squashes these veins flat. Less blood returns to the heart (less venous return), so the heart fills less between beats. A heart that fills less ejects less with each beat, which is Starling’s law (Pressure–Volume Loop, Starling’s Law and Contractility), so the stroke volume, the amount pumped per beat, falls.
Blood pressure falls with it (Arterial Blood Pressure – Measurement, Normal Values and the Baroreflex). The brain then gets less blood, and the lifter becomes dizzy, sees spots before the eyes or faints (syncope).

The graph follows aortic pulse pressure, in mmHg, against heart beat number, with the record divided into prestrain, strain and poststrain. Until then it moved by bulk flow (convection), a whole stream pushed along a tube by a pressure difference. Pulse pressure is the difference between the highest and lowest pressure in the aorta, the main artery leaving the heart, during one beat. It rises and falls with the amount of blood the heart ejects, so the trace is really a record of stroke volume. Phase I is a brief rise at the start of the strain, because the sudden chest pressure squeezes blood from the chest into the aorta.
In phase II the trace falls steeply and stays low, because venous return is blocked and the heart has less to pump. Phase III is a brief further dip as the strain is released and the chest refills with blood that has not yet reached the heart. Phase IV is the overshoot. The pent-up blood floods back into the heart and is pumped out against vessels that reflexes tightened while pressure was low. The lesson is that a long strain starves the heart of blood to pump.
Summary
Summary
The lungs pack 70 to 100 square metres of exchange surface into about 600 million alveoli, behind a membrane only 0.2 to 2.5 micrometres thick. The conducting zone (trachea, bronchi, bronchioles) only carries air, so its 150 mL is anatomic dead space, and the respiratory zone does the exchange. Branching makes the total cross-sectional area huge, so air slows, stays laminar and finally moves by diffusion in the deepest lung. Breathing in is active: the diaphragm flattens and the ribs lift, so intrapulmonary pressure falls below atmospheric pressure (Boyle’s law) and air flows in. Breathing out is passive by elastic recoil at rest and active in hard exercise, when the abdominal and internal intercostal muscles squeeze the chest. Surfactant from type II cells lowers surface tension, which raises compliance, cuts the work of breathing and prevents atelectasis and oedema. A long Valsalva manoeuvre collapses the chest veins, cutting venous return, stroke volume and blood pressure until the lifter faints.