ecg stands for electrocardiogram. it is a type of test that measures the electrical activity of the heartbeat. with each beat, an electrical impulse travels through the heart. this wave causes the muscle to squeeze and pump blood from the heart. a normal heartbeat on ecg will show the timing of the top and lower chambers.