Your resting electrocardiogram, or ECG, provides a snapshot of your cardiovascular electrical performance while you're at a relaxed state . Essentially , it detects the impulses that initiate your heart to beat . Physicians use this evaluation to assess for possible cardiac problems , such as arrhythmias , signs of a prior heart attack , or issues