An EKG (ECG) is a test that records the electrical activity of the heart. It helps doctors diagnose conditions like heart attacks, irregular heartbeats or other heart conditions. It can also be done to help assess the heart’s overall health. This test is commonly performed as part of routine heart check-ups, pre-surgical assessments, or when a patient experiences symptoms of heart disease. The results of an ECG can assist your healthcare team in diagnosing various conditions, including: