An electrocardiogram (ECG or EKG) records the electrical signal from the heart to check for different heart conditions.