Electrocardiography (ECG) is a examination that can be used to evaluate heart rhythm and heart electrical activity.