ECG machine is a medical diagnostic device used to record the electrical activity of the heart. It helps healthcare professionals monitor heart rate, detect abnormal heart rhythms, and identify possible heart conditions such as arrhythmias and heart attacks.