An electrocardiogram is a representation of the heart’s electrical activity recorded from electrodes on the body surface.