This is the most common type of pulmonary function testing. It measures lung function, specifically the amount (volume) and/or speed (flow) of air that can be inhaled and exhaled. Spirometry is an important tool used for generating pneumotachographs, which are helpful in assessing conditions such as asthma, pulmonary fibrosis, cystic fibrosis, and COPD.