Your respiratory system moves air into your lungs, extracts oxygen from it, dumps carbon dioxide back into it, and pushes it out, roughly 12 to 20 times per minute at rest. That cycle sounds simple, but it involves a precise chain of structures, pressure changes, chemical signals, and built-in defense systems working together every second of your life.
The Path Air Travels
Air enters through your nose or mouth, where it gets warmed and moistened so it won’t irritate the delicate tissue deeper in your lungs. From there it passes through your voice box (larynx) and down your windpipe (trachea), a tube held open by rings of cartilage that prevent it from collapsing.
At the bottom of the windpipe, the airway splits into two bronchial tubes, one for each lung. These branch into progressively smaller tubes called bronchioles, like an upside-down tree. The bronchioles eventually dead-end in clusters of tiny air sacs called alveoli. This is where the real work happens. Your lungs contain so many alveoli that their combined surface area stretches to roughly 118 square meters, about the size of half a tennis court, all folded into your chest.
How You Breathe In and Out
Breathing is driven by pressure changes. When you inhale, your diaphragm, a dome-shaped muscle sitting below your lungs, contracts and flattens downward. At the same time, the small muscles between your ribs contract and pull the rib cage upward and outward. Both actions expand the chest cavity, creating a low-pressure zone inside. Because air naturally flows from higher pressure to lower pressure, it rushes in through your nose or mouth and fills the lungs.
Exhaling at rest is mostly passive. Your diaphragm and rib muscles relax, the chest cavity shrinks, and the elastic tissue of the lungs springs back to its resting size. That recoil pushes air out. During exercise or heavy breathing, your abdominal muscles and additional rib muscles actively contract to force air out faster.
With each normal breath, about 500 mL of air enters your lungs. Not all of it reaches the gas-exchange zone, though. Roughly 150 mL stays in the windpipe and larger airways, which are just passageways. Only about 350 mL actually makes it to the alveoli where oxygen can cross into your blood.
Gas Exchange in the Alveoli
Each alveolus is wrapped in a net of extremely thin-walled blood vessels called capillaries. The barrier between the air inside the alveolus and the blood flowing through the capillary is so thin that oxygen and carbon dioxide can pass through it by simple diffusion, moving from where they’re more concentrated to where they’re less concentrated.
Oxygen in the alveoli exerts a pressure of about 100 mmHg, while the blood arriving from the body’s veins carries oxygen at only about 40 mmHg. That pressure gap drives oxygen across the membrane and into the blood. Carbon dioxide works in the opposite direction: it’s more concentrated in the incoming blood (around 45 mmHg) than in the alveolar air, so it crosses into the air sac and gets exhaled. The whole exchange happens in a fraction of a second.
How Oxygen Reaches Your Tissues
Once oxygen crosses into the blood, it hitches a ride on hemoglobin, a protein packed inside red blood cells. Each hemoglobin molecule contains four iron atoms, and each one can bind a single oxygen molecule, giving one hemoglobin the capacity to carry four oxygen molecules at a time. Oxygen-rich blood then travels from the lungs through the heart and out to every tissue in the body.
When that blood reaches tissues that are actively using oxygen (your muscles during a run, your brain while you think), oxygen detaches from hemoglobin and diffuses into the cells. Carbon dioxide, the waste product of cellular energy production, flows the other direction, from tissue cells into the blood. Most of it gets converted into bicarbonate, a form that dissolves easily in blood plasma. A smaller portion binds directly to hemoglobin for the trip back. When this carbon dioxide-laden blood returns to the lungs, the gas is released into the alveoli and breathed out.
There’s an elegant feedback loop built into this process. When carbon dioxide binds to hemoglobin, it changes the protein’s shape in a way that makes it release oxygen more readily. So in tissues that are producing the most carbon dioxide (the ones working hardest and needing the most fuel), hemoglobin automatically dumps more oxygen. This is known as the Bohr effect.
What Controls Your Breathing Rate
You don’t have to think about breathing because clusters of nerve cells in the lower part of your brain handle it automatically. One group generates the basic rhythm of inhale-exhale. Another group in a nearby region fine-tunes the signal, adjusting how deep and how fast each breath is. Together, these centers send steady nerve impulses to the diaphragm and rib muscles, keeping you breathing even while you sleep.
The system adjusts in real time based on chemical feedback. Two sets of sensors monitor your blood chemistry. One set sits in your major blood vessels near the heart and tracks oxygen levels and acidity. The other set is embedded in the brain itself and monitors the acidity of the fluid surrounding it. When carbon dioxide rises (making the blood more acidic), these sensors fire off signals that increase your breathing rate and depth almost instantly, flushing out the excess carbon dioxide. When levels return to normal, breathing slows again. Over longer periods, your kidneys help fine-tune blood acidity, but the breath-to-breath regulation happens through this rapid neural loop.
This is why you breathe harder during exercise: your muscles produce more carbon dioxide, your blood becomes slightly more acidic, and the sensors trigger faster, deeper breaths. It’s also why holding your breath eventually becomes unbearable. The urge to breathe is driven less by low oxygen and more by rising carbon dioxide levels tripping those acidity sensors.
Built-In Defense Systems
Your lungs process between 8,000 and 12,000 liters of air every day, and that air carries dust, pollen, bacteria, viruses, and other particles. The respiratory system has two main lines of defense to deal with them.
The first is a sticky, moving trap. Cells lining your airways secrete mucus, a thick layer of glycoprotein that catches inhaled particles. Surrounding cells are topped with tiny hair-like structures called cilia that beat in coordinated waves, pushing the mucus and its trapped debris upward toward the throat. This conveyor belt is called mucociliary clearance. Most large particles get caught in the nose and upper airways and are either swallowed or coughed out before they ever reach the lungs.
Smaller particles, those under about 1 micrometer in diameter, can slip past this first barrier and settle in the alveoli. That’s where the second line of defense takes over. Specialized immune cells living in the alveoli patrol the surface, engulfing bacteria, fungi, viruses, and fine particles. They surround the invader, pull it inside a tiny internal compartment, and destroy it using enzymes and reactive chemicals. The mucus layer itself also plays an active role: sugar molecules on its surface can bind directly to bacteria and viruses, neutralizing them before they have a chance to infect cells.

