An electrocardiogram (ECG) records the electrical activity of the heart. A normal ECG waveform contains a P wave, QRS complex, and T wave. The P wave represents atrial depolarization, the QRS complex represents ventricular depolarization, and the T wave represents ventricular repolarization. An ECG also contains isoelectric lines, waves, segments, intervals, and a voltage and time calibration to analyze the tracing.