section_path: Function/Gas exchange
section_name: Gas exchange
paragraph_text: Gas exchange
  
  The major function of the lungs is gas exchange between the lungs and the blood. The alveolar and pulmonary capillary gases equilibrate across the thin blood–air barrier. This thin membrane (about 0.5 –2 μm thick) is folded into about 300 million alveoli, providing an extremely large surface area (estimates varying between 70 and 145 m) for gas exchange to occur.
  
  The lungs are not capable of expanding to breathe on their own, and will only do so when there is an increase in the volume of the thoracic cavity. This is achieved by the muscles of respiration, through the contraction of the diaphragm, and the intercostal muscles which pull the rib cage upwards as shown in the diagram. During breathing out the muscles relax, returning the lungs to their resting position. At this point the lungs contain the functional residual capacity (FRC) of air, which, in the adult human, has a volume of about 2.5–3.0 litres.
  
  During heavy breathing as in exertion, a large number of accessory muscles in the neck and abdomen are recruited, that during exhalation pull the ribcage down, decreasing the volume of the thoracic cavity. The FRC is now decreased, but since the lungs cannot be emptied completely there is still about a litre of residual air left. Lung function testing is carried out to evaluate lung volumes and capacities.