Spirometry is the most common of the lung function tests. This test shows how well you breathe in and out, or how well your lungs work. Breathing can be affected by lung diseases such as: chronic obstructive pulmonary disease (COPD), asthma, pulmonary fibrosis and cystic fibrosis.