Pulmonary Function testing is used to evaluate the lungs function and to aid in the diagnosis of emphysema, chronic obstructive pulmonary disease, and asthma. Patients breath into a computerized machine that measures critical values of lung functioning.