Spirometry is a common pulmonary function test that measures how much air a person can inhale and exhale, as well as how quickly they can do so. This test helps assess lung function, allowing for the diagnosis of respiratory conditions such as asthma and chronic obstructive pulmonary disease (COPD). By analyzing the volume and flow rates of air, spirometry plays a critical role in understanding respiratory health and can guide treatment decisions.