Pulmonary function tests (PFTs) are noninvasive tests that show how well the lungs are working. The tests measure lung volume, capacity, rates of flow, and gas exchange. This information can help your healthcare provider diagnose and decide the treatment of certain lung disorders.