An ECG (Electrocardiogram) is a quick, safe, and painless diagnostic test that measures the electrical activity of your heart through electrodes placed on your skin. It helps doctors assess how well your heart is functioning by tracking the timing and strength of the electrical signals that make your heart beat. ECGs are essential for detecting abnormal heart rhythms (arrhythmias), heart attacks, structural issues, and other cardiac conditions.