An Electrocardiogram (ECG or EKG) is a medical test that records the electrical activity of the heart over a period of time. It is commonly used to assess heart health and diagnose various cardiac conditions. The ECG graphically represents the heart's electrical impulses, providing valuable information about heart rate, rhythm, and any potential abnormalities.