pulmonary function test (PFT), a procedure for determining the capacity of the lungs to exchange oxygen and carbon dioxide efficiently. There are two general kinds of respiratory function tests. One measures ventilation, or the ability of the bellows action of the chest and lungs to move gas in and out of alveoli.