A resting electrocardiogram (ECG), also known as a resting EKG, is a common diagnostic tool used to assess the heart rhythm of your heart while you are at a stationary position. During the test, small electrodes are affixed to your chest, arms, and legs to capture the impulses produced by your heart as it beats. The resulting lines provide valuable