Ventilation is driven by pressure gradients created when the diaphragm contracts and expands the thoracic cavity, lowering intrapulmonary pressure. Airway resistance and lung compliance oppose this movement; the work of breathing increases during exercise or disease. Neural centers in the brainstem generate rhythmic breathing patterns modulated by chemoreceptors sensing CO2, pH, and O2.
From your study of the respiratory system, you know that the lungs provide the surface for gas exchange, and from airway resistance you understand the factors that oppose airflow. Ventilation mechanics brings these together: how the body actually moves air in and out, what resists that movement, and how the nervous system controls the rate and depth of breathing.
Inspiration is an active process driven by the diaphragm, a dome-shaped skeletal muscle innervated by the phrenic nerve (C3-C5). When the diaphragm contracts, it flattens and pushes the abdominal contents downward, increasing the volume of the thoracic cavity. By Boyle's law, this increase in volume decreases intrapulmonary pressure (also called alveolar pressure) below atmospheric pressure, creating a pressure gradient that draws air into the lungs. During quiet breathing, the diaphragm does nearly all the work. During forceful inspiration — exercise, for example — the external intercostals and accessory muscles (sternocleidomastoid, scalenes) elevate the ribs, further expanding the thorax and generating a larger pressure gradient for greater airflow.
Expiration during quiet breathing is largely passive. The lungs and chest wall are elastic structures — they stretch during inspiration and recoil during expiration, much like a stretched rubber band returning to its resting length. This elastic recoil, which you studied as lung compliance, pushes intrapulmonary pressure above atmospheric pressure, driving air out. Forced expiration (coughing, exercise) recruits the internal intercostals and abdominal muscles to actively compress the thorax. Two properties resist the movement of air: compliance (how easily the lung stretches — reduced in fibrosis, increased in emphysema) and airway resistance (determined mainly by the radius of conducting airways — dramatically increased by bronchoconstriction in asthma). The total work of breathing is the sum of work against elastic recoil and work against airway resistance, and it normally requires only about 3-5% of total body oxygen consumption at rest but can exceed 30% in severe respiratory disease.
The rhythm of breathing is generated automatically by the medullary respiratory center, primarily the pre-Bötzinger complex, which produces the basic inspiratory rhythm — you breathe without conscious effort because this neural oscillator fires continuously. The depth and rate of breathing are then modulated by chemoreceptors. Central chemoreceptors in the medulla detect changes in cerebrospinal fluid pH, which reflects arterial PCO2 (CO2 crosses the blood-brain barrier and is hydrated to carbonic acid, lowering pH). A rise in PCO2 of just 2-3 mmHg can double minute ventilation. Peripheral chemoreceptors in the carotid and aortic bodies respond to arterial PO2, PCO2, and pH — they are especially important when PO2 falls below about 60 mmHg. This chemoreceptor feedback ensures that ventilation is continuously matched to metabolic demand: during exercise, increased CO2 production raises PCO2, stimulates chemoreceptors, and drives the increase in ventilation that maintains blood gas homeostasis.