An ECG records the electrical signals in the heart. It is a non-invasive procedure that involves placing electrodes on the skin to detect electrical activity. The resulting tracings provide information about heart rate, rhythm, and other cardiac parameters. ECGs can detect arrhythmias, ischemia, and other heart conditions, making them essential in both clinical and epidemiological studies.