Your standard electrocardiogram, or ECG, provides a record of your cardiovascular electrical function while you're at rest . Simply put, it detects the impulses that trigger your organ to pump . Physicians use this test to check for possible heart conditions , such as abnormal rhythms, indications of a past heart attack , or electrolyte imbalances