A standard resting electrocardiogram, or ECG, gives valuable data into your heart's electrical performance . During this easy test, electrodes are positioned on your torso and extremities to capture the pulse signals. This output can help your doctor to detect potential problems such as erratic pulses, evidence of past heart attacks , or ion imbala