Electrocardiogram (EKG or ECG) machines are used to monitor and record the electrical activity of the heart.