Spirometry is a test that can help diagnose various lung conditions, most commonly chronic obstructive pulmonary disease (COPD). Spirometry is also used to monitor the severity of some other lung conditions, and their response to treatment.