Electrocardiography is the process of recording the electrical activity of the heart over a period of time using electrodes placed on a patient's body. These electrodes detect the tiny electrical changes on the skin that arise from the heart muscle depolarizing during each heartbeat. 

In a conventional 12 lead ECG, ten electrodes are placed on the patient's limbs and on the surface of the chest. The overall magnitude of the heart's electrical potential is then measured from twelve different angles ("leads") and is recorded over a period of time (usually 10 seconds). In this way, the overall magnitude and direction of the heart's electrical depolarization is captured at each moment throughout the cardiac cycle. The graph of voltage versus time produced by this noninvasive medical procedure is referred to as an electrocardiogram (abbreviated ECG or EKG). 

Spirometry (meaning the measuring of breath) is the most common of the pulmonary function tests (PFTs), measuring lung function, specifically the amount (volume) and/or speed (flow) of air that can be inhaled and exhaled. Spirometry is an important tool used for generating pneumotachographs, which are helpful in assessing conditions such as asthma, pulmonary fibrosis, cystic fibrosis, and COPD.