Pulmonary function tests show how well lungs are functioning to help providers diagnose and treat lung disorders. The noninvasive tests help determine how much air the lungs can hold, how quickly patients can move air in and out of the lungs, and how well the lungs can remove carbon dioxide from the blood.