An electrocardiogram (EKG or ECG) is one of the simplest and fastest tests used to evaluate the heart. Electrodes (small, plastic patches) are placed at certain locations on the chest, arms and legs. When the electrodes are connected to the electrocardiogram machine by wires, the electrical activity of your heart is measured, interpreted and printed out for the doctor's information and further interpretation.