Spirometry is a diagnostic test that measures lung function using a spirometer. A spirometer measures and records the amount (volume) and/or speed (flow) of air that can be inhaled or exhaled. It consists of a mouthpiece, nose clip, and device that records airflow. The procedure involves taking deep breaths and exhaling fully into the mouthpiece three times. Measurements obtained include forced vital capacity (FVC) and forced expiratory volume (FEV1), which are used to diagnose respiratory conditions. While generally safe, risks include dizziness. Accurate results require patient effort and cooperation, with tests repeated if values differ.