Your standard ECG provides a record of your heart's electrical function while you're relaxed . It's a non-invasive test that detects the tiny electrical signals produced by your heart. Physicians use this reading to evaluate for various heart problems, like irregular heartbeats , damage from a heart attack , and other heart-related abnormalities .