An electrocardiogram also termed an ECG or EKG (K means kardia for heart in Greek) or a 12 lead ECG. is a simple non-invasive test that records the heart's electrical activity. The ECG machine is designed to recognise and record any electrical activity within the heart.