Spirometry is a common pulmonary function test that measures the volume and flow of air that a patient can inhale and exhale. It is often used to diagnose and monitor lung conditions such as asthma, cystic fibrosis, and chronic obstructive pulmonary disease (COPD).