An ECG is a simple, non-invasive test that records the electrical activity of the heart. It is commonly used to diagnose various heart conditions, including arrhythmias, heart attacks, and other irregularities. A two-minute rhythm recording enhances the sensitivity of ECG detection, allowing for a more accurate assessment of transient or intermittent abnormalities.