PFTs are used to assess your lung function. There are tests that measure lung size and airflow, like spirometry and lung volume testing. The degree of oxygen and carbon dioxide exchange within your blood is measured by other tests. They include arterial blood gas testing and pulse oximetry.