An ECG (electrocardiogram) machine is a medical device used to record the electrical activity of the heart. It is a non-invasive test that helps to evaluate the electrical conduction system of the heart and diagnose various heart conditions.