A resting electrocardiogram (ECG), also known as a resting EKG, is a common diagnostic tool used to evaluate the electrical activity of your heart while you are at complete stillness. During the test, small electrodes are attached to your chest, arms, and legs to record the impulses produced by your heart as it contracts. The resulting lines provid