During a spirometry test, the subject breathes into a mouthpiece connected to a spirometer. The device records the amount of air inhaled and exhaled over a specified period. Key measurements include Forced Vital Capacity (FVC) and Forced Expiratory Volume in one second (FEV1). These values are compared to normative data to assess lung function.