Lung volumes and capacities can be measured using spirometry. There are four lung volumes - tidal volume, inspiratory reserve volume, expiratory reserve volume, and residual volume. There are also five lung capacities, which are combinations of the lung volumes - inspiratory capacity, expiratory capacity, vital capacity, functional residual capacity, and total lung capacity. Spirometry is used to measure the volumes exhaled during a forced vital capacity maneuver, including the forced expiratory volume in 1 second (FEV1) and ratios like FEV1/FVC, to distinguish between obstructive and restrictive lung diseases.