The electrocardiogram (ECG) is a method for recording the electrical activity of the heart. By placing electrodes on the skin, the electrical signals generated during cardiac activity are derived and recorded. The ECG provides information about the heart rhythm, heart rate, conduction, and possible abnormalities such as arrhythmias or heart attacks. It is an important diagnostic tool in cardiology and is often used to assess heart function, monitor heart patients, and detect heart problems at an early stage.