The ECG is a test that records electrical signals from your heart. The pattern of these signals can tell the healthcare provider if your heart is normal, under stress, or having electrical problems, strain, or damage.