A Lung Function Test (Spirometry) is a non-invasive test that involves breathing into a mouthpiece, which is connected to a machine via some tubing. The tests assist in the diagnosis and management of respiratory conditions. They measure how well and how much air you breathe in and out of your lungs.