A resting electrocardiogram (ECG) provides a valuable glimpse of your heart's electrical activity. During this non-invasive test, electrodes are attached to your chest, arms, and legs. These electrodes detect the tiny currents that control your heart's beat. The resulting tracing, a waveform of graphs, illustrates important data about the structure