After taking a detailed medical history and listening to your lungs, your physician may ask you to have a special test done known as Pulmonary Function Test. This test aims at determining the ability of your lungs to function.