An electrocardiogram (EKG) is a quick, painless test that measures the electrical activity of the heart using sensors attached to your skin. Healthcare professionals use EKGs to diagnose various heart ...