An electrocardiogram (ECG) is a non-invasive test that measures the electrical activity of the heart over a period of time. It is commonly used in medical practice to diagnose and monitor various heart conditions. In the context of toxicology, ECGs are invaluable for detecting cardiac abnormalities that may arise due to exposure to toxic substances.