Answer
The electrocardiogram or ECG is a widely used tool in medicine, primarily for detecting arrhythmias, which are abnormal heart rhythms. It works by recording the electrical activity of the heart and presenting it as a waveform, allowing healthcare professionals to analyze the heart's rate, regularity, and overall functioning.