Also known as an EKG or ECG, an electrocardiogram is a simple, painless test that checks for problems with the electrical activity of your heart. Electrocardiograms help determine the cause of symptoms of heart disease such as unexplained chest pain, irregular heart beat, dizziness, and shortness of breath.