The ventilatory apparatus consists of the lungs and the surrounding chest wall. The chest wall includes not only the rib cage but also the diaphragm and the abdominal wall. The lungs fill the chest so that the visceral pleura is in contact with the parietal pleura of the chest cage. Consequently, the lungs and the chest wall act in unison. From a mechanical point of view, it may be regarded as a pump with elastic, flow-resistive and inertial properties. During inspiration, the diaphragm contracts, and the abdominal contents are pushed downwards. When the chest wall expands, the lungs follow.
As opposed to inspiration, expiration is passive during quiet breathing. It is caused by the elastic recoil of the lung and chest, which tend to return to their equilibrium position, FRC, after being expanded during inspiration. Only during increased ventilation, as during exercise or in patients with increased expiratory resistance of the airways, expiration is facilitated by contraction of expiratory muscles.
Mechanically, the lung and chest wall operate in series with one another. However, the lungs are not directly attached to the chest wall. The visceral and parietal pleuras are coupled together by a thin layer of liquid which fills the intrapleural space. The liquid allows the lungs to slide against the internal wall of the chest during breathing and to follow the change in thoracic configuration. Pleural pressure (Ppl) is the pressure that can be measured in the the liquid-filled space between lung and chest.

To evaluate the elastic properties of the respiratory system (chest wall, lungs), we measure changes in the recoil pressure of each separate structure for a given change in lung volume. Lung volumes can be measured by means of the spirometry. For the respiratory system, pressures are measured, using manometers, in cmH2O, as a difference from atmospheric pressure. "Negative pressure" indicates a pressure below atmospheric, and "positive pressure" indicates a pressure above atmospheric. The recoil pressure of a structure is defined as the pressure difference between the inside and outside the structure (transmural pressure). The recoil pressure of the chest wall, trans-chest-wall pressure (Pcw) is the difference between Ppl and the pressure at the body surface. Ppl can be measured using a flexible balloon introduced to the esophagus, since esophageal pressure happens to follow closely Ppl. The body surface is under atmospheric pressure (PB).
The recoil pressure of the lungs, transpulmonary pressure (Pl) is measured from the difference between Palv and Ppl. (When there is no air flow, closed nose and mouth, Palv and the pressure measured at the mouth are the same.)
The recoil pressure of the total respiratory system, transrespiratory system pressure (Prs) is measured as the difference between Palv and PB
Hence, Prs is the sum of the pressure generated by its two components, lung and chest:
At functional residual capacity (FRC) the elastic recoil pressures of the lung and the chest wall are equal in magnitude but opposite in direction: the algebraic sum of the two (Prs) equals 0 (Fig. 25). Therefore, FRC represents the equilibrium position of the total respiratory system. At any volume above FRC, Prs exceeds atmospheric pressure. Therefore, the net recoil pressure at such volumes favors a decrease in lung volume. With the airway open to the atmosphere, lung volumes above FRC can be maintained only by the action of the muscles of inspiration.
At any lung volume below FRC, the respiratory system recoil pressure
is less than atmospheric pressure, and the net recoil effect is directed
toward increasing lung volume. Lung volumes below FRC can be maintained
with the airway open only by the opposing action of the expiratory muscles.
Even at residual volume, the lung maintains its tendency to collapse and
the chest wall is solely responsible for the outward recoil of the respiratory
system (Fig. 25).

The compliance of the lungs or the chest wall, or of the total respiratory system, is a parameter which refers to the ease with which each of these structures can be distended. The standard procedure for measuring the respiratory system compliance in humans is to determine the static pressure-volume relationship while lung volume is decreases step by step from the total lung capacity. Compliance is expressed as the volume change in the lung for a unitary change in pressure. The slopes of the pressure-volume curves in Fig. 25 indicate compliance of the chest wall, total respiratory system, and the lungs. Chest wall compliance is the change in lung volume divided by the change in Pcw. Respiratory system compliance is the change in lung volume divided by the change in Prs. Lung compliance is the change in lung volume divided by the change in Pl.
At FRC, Prs must be zero because the system is at rest. This stable condition is caused by the inward recoil of the lungs (Pl is about + 5 cmH2O) which is balanced by the outward recoil of the chest wall (Pcw is about - 5 cmH2O). This means that the lungs are above their resting volume, and the chest is below its rest volume. When lung volume is at about 75% of total lung capacity, Pcw is 0: Ppl=pressure at the body surface, and the total pressure across the respiratory system equals Pl.
When the chest is opened during thoracic surgery, air enters the pleural space because Ppl is less than atmospheric pressure. The condition is called pneumothorax. The lungs collapse, and the chest wall expands towards its resting position at about 75% of total lung capacity. A traumatic or spontaneous pneumothorax may be a life-threatening emergency since the lungs are uncoupled from the chest wall.