Spirometry measures the breathing capacity of the lungs using an instrument that measures expired lung volumes and flow-volume curves.