Homeostasis means keeping the body’s internal conditions steady, and for the lungs that means three things: blood oxygen, carbon dioxide and acidity. Every breath is part of a constant adjustment loop, sped up or slowed down without your having to think about it. The signal your breathing follows most closely is carbon dioxide building up, not oxygen running low. The same organ also cleans incoming air, warms it, and even helps set blood pressure.
How Your Brain Decides How Hard to Breathe
Sensors in the lowest part of the brainstem detect changes in the carbon dioxide level of your blood.1TeachMePhysiology. Chemoreceptors – Peripheral – Central What they actually read is acidity: carbon dioxide makes the fluid around the brain and spinal cord more acidic.1TeachMePhysiology. Chemoreceptors – Peripheral – Central The sensors then signal the brain’s breathing centres, which change your breathing until carbon dioxide returns to normal.1TeachMePhysiology. Chemoreceptors – Peripheral – Central The same brain sensing can also affect airway width, blood pressure and how alert or awake you are.2PubMed Central. Central Chemoreceptors: Locations and Functions
This is why holding your breath becomes unbearable. Carbon dioxide builds up while you hold, makes the brain fluid more acidic, and the brainstem sensors push harder and harder until you breathe. The urge comes mainly from that rising carbon dioxide, not from falling oxygen, so it returns quickly even when your oxygen is still fine.
Small organs at the fork of the neck arteries detect when blood oxygen drops.3PubMed Central. Regulation of Carotid Body Oxygen Sensing by Hypoxia-Inducible Factors A reflex from them raises breathing and adjusts the heart to protect you when oxygen is low.3PubMed Central. Regulation of Carotid Body Oxygen Sensing by Hypoxia-Inducible Factors
Stretch receptors in the lungs fire as the lungs fill and help set the rhythm and depth of breathing.4PubMed. An overview of the anatomy and physiology of slowly adapting pulmonary stretch receptors A well-filled lung delays the start of the next breath, in people as in other mammals.5PubMed. Breuer-Hering inflation reflex and breathing pattern in anesthetized humans and cats These same receptors influence airway muscle, blood vessel tone and heart rate.4PubMed. An overview of the anatomy and physiology of slowly adapting pulmonary stretch receptors
All of this runs on autopilot. A rhythm generator in the brainstem keeps breathing going during sleep and while your attention is elsewhere, so you never have to remember to breathe. You can briefly take control, as in singing, speaking or holding your breath, because higher brain areas can override the automatic rhythm for a short time. That override has a limit: when the chemical signals from rising carbon dioxide grow strong enough, the automatic drive wins and you breathe whether you want to or not.
How the Lungs Swap Oxygen for Carbon Dioxide
Your lungs end in millions of tiny air sacs wrapped in fine blood vessels. Oxygen pressure in the air sacs is about 100 to 104 mm Hg, while blood arriving from the body is about 40.6OpenStax Biology. Gas Exchange across the Alveoli7Human Physiology. The Respiratory System So oxygen moves rapidly from the air sacs into the blood, where it binds to hemoglobin in red blood cells.6OpenStax Biology. Gas Exchange across the Alveoli7Human Physiology. The Respiratory System
Several things make this exchange fast. The barrier between air and blood is extremely thin, and the huge number of air sacs gives a vast surface area. Blood keeps flowing, too, so fresh low-oxygen blood keeps the pressure gap large.
Hemoglobin soaks up oxygen as blood passes the air sacs. That keeps free oxygen in the blood low, so more can keep flowing in. Because most oxygen rides on hemoglobin rather than dissolving in the blood fluid, blood can carry far more oxygen than a watery fluid could. The oxygen-rich blood then returns to the heart and is pumped to the whole body, where tissues with low oxygen pressure take the oxygen back off hemoglobin.
Carbon dioxide in arriving blood is about 45 mm Hg versus about 40 in the air sacs.7Human Physiology. The Respiratory System It moves out of the blood into the air sacs to be breathed out.6OpenStax Biology. Gas Exchange across the Alveoli That 5-point gap is small compared with oxygen’s,7Human Physiology. The Respiratory System but carbon dioxide dissolves about 20 times more easily than oxygen, so similar amounts of each cross.7Human Physiology. The Respiratory System
Exhaled air still contains plenty of oxygen, because each breath only swaps part of the gas in your lungs. That leftover oxygen is why rescue breaths can help.
Blood flow is also routed to the best-aired parts. When part of the lung gets little air, its blood vessels tighten.8PubMed Central. Hypoxic Pulmonary Vasoconstriction: From Molecular Mechanisms to Medicine Blood is steered toward better-aired areas, improving oxygen delivery to the body.8PubMed Central. Hypoxic Pulmonary Vasoconstriction: From Molecular Mechanisms to Medicine
How Breathing Keeps Your Blood From Turning Acidic
Blood acidity, measured as pH, is kept steady by three defences: chemical buffers, fast breathing changes, and slow kidney changes.9Anaesthesia and Intensive Care Medicine. Acid–base balance: maintenance of plasma pH Breathing matters here because carbon dioxide dissolved in blood forms an acid. Breathing out more carbon dioxide makes blood less acidic, and breathing less makes it more acidic.
The three defences work on different timescales. Chemical buffers in blood respond almost instantly, within seconds, soaking up extra acid before breathing has even changed. Breathing adjustments take effect over minutes, because the lungs can only change acidity as quickly as carbon dioxide can be moved out or held back. Kidney correction takes hours to days.
When an acid problem starts elsewhere in the body, breathing shifts carbon dioxide to soften the change.10Critical Care and Resuscitation. Acid-Base Balance: Part I. Physiology Then the kidneys restore bicarbonate, the body’s main buffer, to normal over a longer time.10Critical Care and Resuscitation. Acid-Base Balance: Part I. Physiology9Anaesthesia and Intensive Care Medicine. Acid–base balance: maintenance of plasma pH
That is why fast, deep breathing can be a sign of illness. When blood becomes acidic from a metabolic cause, people may breathe faster and deeper, the lungs dumping carbon dioxide to offset the acid. It points to a problem that needs medical attention, not a fault in the lungs themselves.
The reverse happens when you hyperventilate. Breathing too fast removes too much carbon dioxide, so blood becomes less acidic than normal. That can cause lightheadedness and tingling fingers. Slowing your breathing lets carbon dioxide rebuild.
What Changes During Exercise and at High Altitude
During exercise, breathing and gas exchange rise in step with the body’s energy use, so carbon dioxide doesn’t climb and oxygen doesn’t fall.11PubMed. Control of breathing during exercise Yet no sensor directly measures gas use in muscles or lungs.11PubMed. Control of breathing during exercise Instead the brain combines signals sent ahead from movement with carbon dioxide feedback.12PubMed Central. Inaugural Review Prize 2023: The exercise hyperpnoea dilemma: A 21st‐century perspective In one line of research, low oxygen and moving muscles together raised breathing about twice as much as their separate effects added up.13PubMed. Hyperadditive ventilatory response arising from interaction between the carotid chemoreflex and the muscle mechanoreflex in healthy humans
Breathing ramps up as you start moving, before levels change much. Breathlessness becomes noticeable mostly at very hard efforts.
Altitude is different. Faster, deeper breathing is the most important step of adjusting to it,14PubMed Central. Effects of High Altitude on Sleep and Respiratory System and Theirs Adaptations15PubMed. Respiratory and circulatory control at high altitudes because low oxygen stimulates the oxygen sensors in the neck.15PubMed. Respiratory and circulatory control at high altitudes Resting breathing can rise up to fourfold at extreme altitude.15PubMed. Respiratory and circulatory control at high altitudes Heart rate jumps on arrival and then settles back as you adjust.14PubMed Central. Effects of High Altitude on Sleep and Respiratory System and Theirs Adaptations15PubMed. Respiratory and circulatory control at high altitudes Lifelong high-altitude residents respond less strongly to low oxygen than adjusted lowlanders.15PubMed. Respiratory and circulatory control at high altitudes Altitude can also disturb sleep.14PubMed Central. Effects of High Altitude on Sleep and Respiratory System and Theirs Adaptations Adjustment takes days because breathing keeps creeping upward as the body adapts. Breathing faster at altitude blows off extra carbon dioxide, which makes blood less acidic, and the kidneys gradually compensate over days. Going up gradually gives the body time to catch up.
How the Lungs Keep Themselves Open and Clean
Surfactant is a fat-and-protein coating made by cells lining the air sacs, and it lowers surface tension.16Nature Research Intelligence. Pulmonary Surfactant Mechanisms in Respiratory Pathophysiology As a result the air sacs don’t collapse at the end of each breath out,16Nature Research Intelligence. Pulmonary Surfactant Mechanisms in Respiratory Pathophysiology and the lungs stay ready for the next breath without extra effort.
Airways are constantly hit by particles, toxins and microbes.17PubMed Central. Airway Epithelial Differentiation and Mucociliary Clearance Airway lining cells release mucus, fluid and germ-fighting proteins in response.17PubMed Central. Airway Epithelial Differentiation and Mucociliary Clearance Tiny hairs called cilia, plus coughing, move this mucus up and out.17PubMed Central. Airway Epithelial Differentiation and Mucociliary Clearance The lining also signals immune cells and helps repair damage.18PubMed Central. The innate immune function of airway epithelial cells in inflammatory lung disease
A cough is a forceful burst of air that moves mucus and trapped particles when the cilia alone can’t shift them fast enough. Irritation of the airway lining triggers it, so it rises when there is more debris, mucus or irritant to clear. A cough that lasts for weeks or brings up blood is a reason to be checked, because it can signal that clearance is failing or something is wrong.
Smoking damages this escalator. Smoke harms the cilia so mucus moves poorly, mucus pools, and a persistent cough tries to compensate. Infections take hold more easily when clearance slows.
Airways also warm and moisten air before it reaches the air sacs.19PubMed. Respiratory heat and water exchange: physiological and clinical implications With heavy or cold breathing, this conditioning reaches deeper into the lungs.19PubMed. Respiratory heat and water exchange: physiological and clinical implications Cooling of the airway lining may trigger narrowing in susceptible people, such as some with asthma.19PubMed. Respiratory heat and water exchange: physiological and clinical implications
Immune cells living in the air sacs stay mostly quiet in health, avoiding inflammation to harmless inhaled proteins.20PubMed Central. Alveolar Macrophages in the Resolution of Inflammation, Tissue Repair, and Tolerance to Infection Contact with the air sac lining and surfactant proteins holds them in check.21The Journal of Clinical Investigation. Alveolar macrophages in tissue homeostasis, inflammation, and infection: evolving concepts of therapeutic targeting A balanced community of lung microbes helps keep this tolerance.21The Journal of Clinical Investigation. Alveolar macrophages in tissue homeostasis, inflammation, and infection: evolving concepts of therapeutic targeting22PubMed Central. The lung microbiota: role in maintaining pulmonary immune homeostasis and its implications in cancer development and therapy After allergen exposure, though, these cells become less able to calm inflammation.20PubMed Central. Alveolar Macrophages in the Resolution of Inflammation, Tissue Repair, and Tolerance to Infection
Jobs Beyond Breathing
All the blood pumped by the heart passes through the lungs.23OpenAnesthesia. Lungs: Metabolic Function The lungs receive the entire output of the right side of the heart, and their vast blood vessel lining gives enzymes a huge surface to act on chemicals as blood flows past. Enzymes on lung blood vessels convert angiotensin into a form that tightens vessels and helps hold up blood pressure.23OpenAnesthesia. Lungs: Metabolic Function The lungs also break down other blood-vessel signals such as bradykinin and remove serotonin, while letting adrenaline pass largely unchanged.24Anesthesiology Clinics of North America. Metabolic Functions of the Lung
This lung enzyme also explains why some blood pressure pills cause a cough. ACE inhibitors block the lung enzyme that activates angiotensin, which lowers blood pressure. The same enzyme breaks down bradykinin, and its buildup can cause a dry cough. If a new cough starts on these pills, tell your doctor.
The lungs also keep time. Airways are narrowest between about 2 and 5 a.m.,25PubMed Central. Why Lungs Keep Time: Circadian Rhythms and Lung Immunity which is when people with asthma most often have symptoms.25PubMed Central. Why Lungs Keep Time: Circadian Rhythms and Lung Immunity The body also tolerates carbon dioxide buildup more in the early morning.25PubMed Central. Why Lungs Keep Time: Circadian Rhythms and Lung Immunity
How Aging and Illness Strain the System
Lung function peaks between about 18 and 25, holds steady to about 35, then gradually declines even without disease.26PubMed Central. The aging lung: Physiology, disease, and immunity Air sac surface shrinks, airspaces widen, and mucus clearance slows.26PubMed Central. The aging lung: Physiology, disease, and immunity A stiffer chest wall makes breathing more work, and weaker muscles make coughing less effective,27PubMed Central. Effect of aging on respiratory system physiology and immunology so older adults clear airway debris less well.27PubMed Central. Effect of aging on respiratory system physiology and immunology
Because lung reserve shrinks with age, an infection that a younger person shrugs off can push an older person closer to the point where breathing struggles. The breathing drive itself can also be blunted, so rising carbon dioxide or low oxygen may trigger a smaller response. These changes are normal in healthy older adults, but there is less margin when illness arrives.
Some habits help lungs age better. Not smoking protects cilia and air sacs, regular exercise keeps breathing muscles strong, and vaccines against flu and pneumonia matter more as clearance weakens.
In respiratory failure, rising carbon dioxide makes blood more acidic.28PubMed Central. Diagnosis and Management of Acute Respiratory Failure Heart and diaphragm strength drop, risking irregular heartbeat and collapse.28PubMed Central. Diagnosis and Management of Acute Respiratory Failure Weaker breathing then traps more carbon dioxide, a vicious cycle.28PubMed Central. Diagnosis and Management of Acute Respiratory Failure
Certain signs need urgent care: severe breathlessness at rest, confusion or unusual drowsiness (which can signal carbon dioxide buildup), and bluish lips (which point to low oxygen). Seek emergency help for these signs.

