A pulmonary function test, or a spirometry test, is used to evaluate your lungs' airflow and capacity. During the test, you breathe into a device called a spirometer in a variety of ways, including both forced and rapid breathing. The spirometer reco...