The Respiratory System Explained: How Breathing and Gas Exchange Work
· Science
A clear walk-through of the respiratory system — the path of air, how gas exchange happens in the alveoli, and what controls breathing.
Every cell in the body needs oxygen and must get rid of carbon dioxide. The respiratory system makes this possible. This article traces the path of air, explains how gas exchange actually happens, and describes what controls your breathing.
The path of air
Air enters through the nose and mouth, where it is warmed, moistened, and filtered. It travels down the pharynx (throat) and larynx (voice box), then into the trachea (windpipe). The trachea branches into two bronchi, one for each lung, which divide again and again into smaller and smaller tubes called bronchioles, like the branches of an upside-down tree. At the very ends of these tiny tubes sit clusters of microscopic air sacs called alveoli.
Where the real work happens
The alveoli are where the respiratory system fulfils its purpose. Each alveolus is wrapped in tiny blood vessels (capillaries), and the wall between them is extraordinarily thin — just one cell thick on each side. This thinness allows gases to pass across easily:
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 560 290" width="560" height="290" role="img" aria-label="Gas exchange in the alveoli"><rect width="560" height="290" fill="#1B1813" rx="8"/><text x="280" y="26" fill="#F4F6FA" font-family="Inter,sans-serif" font-size="15" text-anchor="middle" font-weight="600">Gas Exchange in the Alveoli</text><circle cx="200" cy="160" r="70" fill="none" stroke="#C9A84C" stroke-width="3"/><text x="200" y="165" text-anchor="middle" fill="#A8B4C4" font-family="Inter,sans-serif" font-size="12">Alveolus</text><path d="M310 110 Q 360 160 310 210" fill="none" stroke="#F05F5F" stroke-width="3"/><text x="360" y="160" fill="#A8B4C4" font-family="Inter,sans-serif" font-size="12">Capillary</text><line x1="270" y1="135" x2="305" y2="125" stroke="#4A90E2" stroke-width="3" marker-end="url(#ar)"/><text x="288" y="115" fill="#4A90E2" font-family="Inter,sans-serif" font-size="11">O₂ in</text><line x1="305" y1="195" x2="270" y2="185" stroke="#E8A030" stroke-width="3" marker-end="url(#ar)"/><text x="285" y="215" fill="#E8A030" font-family="Inter,sans-serif" font-size="11">CO₂ out</text><defs><marker id="ar" markerWidth="8" markerHeight="8" refX="6" refY="4" orient="auto"><path d="M0 0 L8 4 L0 8 Z" fill="#A8B4C4"/></marker></defs></svg>
Oxygen from the air in the alveolus moves across into the blood, where it binds to red blood cells. At the same time, carbon dioxide — a waste product carried by the blood — moves the other way, into the alveolus, to be breathed out. This exchange happens by diffusion: each gas moves from where it is more concentrated to where it is less concentrated, requiring no energy. The enormous combined surface area of millions of alveoli makes this exchange remarkably efficient.
Breathing in and out
Breathing itself is a mechanical process driven mainly by the diaphragm, a dome-shaped muscle beneath the lungs. When the diaphragm contracts and flattens, it enlarges the chest cavity, lowering the pressure inside and drawing air in — inhalation. When it relaxes, the cavity shrinks and air is pushed out — exhalation. The muscles between the ribs assist, especially during deeper breathing.
What controls breathing
You breathe without thinking about it because the brainstem regulates it automatically. Remarkably, the strongest driver of your breathing rate is not low oxygen but rising carbon dioxide in the blood. When carbon dioxide builds up, the brain signals you to breathe faster and deeper to expel it. This is why holding your breath becomes uncomfortable — it is the carbon dioxide, not the lack of oxygen, that you feel first.
Why this matters in health care
Understanding gas exchange explains many clinical situations. When a patient's oxygen level drops, or when a lung condition thickens or damages the alveolar walls, gas exchange becomes less efficient — and the principles above explain why. A nurse who understands that breathing is driven by carbon dioxide, for instance, understands why oxygen must be given thoughtfully to certain patients with chronic lung disease.
Key takeaways
Air travels from the nose and mouth down through the trachea and bronchi to the alveoli. Gas exchange happens by diffusion across the thin alveolar walls — oxygen into the blood, carbon dioxide out. Breathing is driven mechanically by the diaphragm and controlled automatically by the brainstem, primarily in response to carbon dioxide levels.
References
- OpenStax / Rice University. Anatomy and Physiology, 2nd Edition. CC BY 4.0.
- OpenStax / Rice University. Biology, 2nd Edition. CC BY 4.0.
- West, J. B. Respiratory Physiology: The Essentials. Wolters Kluwer.
This article is an educational study aid. Always follow your institution's specific guidance, and for clinical topics, a qualified instructor.