An EKG is a simple test that detects and records your heart's electrical activity. It shows how fast your heart is beating and whether its rhythm is steady or irregular. An EKG also shows the strength and timing of electrical signals as they pass through each part of your heart.