- You will have a lung function test to learn how well your lungs work. To perform a lung function test, you will take a deep breath and blow into a mouthpiece that is connected to a device that records how much air your lungs can hold and shows how much force you use when breathing out.