A resting electrocardiogram (ECG) serves as a basis for evaluating the electrical activity of your heart. It provides a view of your heart's frequency and regularity while at inactivity. This essential information helps medical professionals detect any problems that may indicate underlying heart diseases. Electrocardiogram Exercise Test An ex