Your standard ECG provides a snapshot of your heart's rhythm while you're at rest . It's a harmless test that detects the electrical impulses produced by your heart. Doctors use this information to check for various heart conditions , like arrhythmias , problems from a myocardial infarction , and different cardiac issues. Don't be concerned – it�