An Electrocardiogram (ECG) is a diagnostic tool that measures and records the electrical activity of the heart. It is a crucial element in diagnosing various cardiac conditions such as arrhythmias, myocardial infarction, and other heart-related issues.