Spirometry is an basic pulmonary function test. It measures the volume of the air that is expired and inspired. It is performed to detect the presence or absence of lung disease, quantify lung impairment, and monitor the effects of occupational/ environmental exposures.