The spirometry test is relatively simple and non-invasive. Patients are asked to breathe into a mouthpiece connected to a spirometer. The test usually involves taking a deep breath and then exhaling as forcefully and quickly as possible. The spirometer records the amount and rate of air exhaled, providing valuable data on lung function.