Lung volumes and capacities refer to the amount of air in the lungs during respiration. Lung volumes are directly measured using spirometry, while lung capacities are inferred from volumes. There are four main lung volumes: tidal volume, inspiratory reserve volume, expiratory reserve volume, and residual volume. Various lung capacities are combinations of these volumes and measure the maximum amounts of air that can be inhaled or exhaled. Common lung capacities include inspiratory capacity, expiratory capacity, functional residual capacity, vital capacity, and total lung capacity. Spirometry is used to measure volumes and capacities to assess respiratory muscle strength and diagnose pulmonary diseases.