The ECG records the depolarization and repolarization potentials generated by the atrial and ventricular myocardium over time. It shows: - Atrial depolarization as the P wave - Ventricular depolarization as the QRS complex - Ventricular repolarization as the ST segment, T wave, and U wave.