A basic resting electrocardiogram, or ECG, provides valuable data about your heart's electrical function. During this easy test, sensors are attached on your upper body and limbs to monitor the electrical signals. This output can help your healthcare provider to identify possible problems such as erratic rhythms , signs of previous cardiac events ,