Spirometry is a common pulmonary function test that measures the volume and speed of air that an individual can inhale and exhale. It is used to assess lung function and diagnose conditions such as asthma, chronic obstructive pulmonary disease (COPD), and other disorders affecting breathing.