Electrocardiography, commonly known as ECG or EKG, is a diagnostic tool used to measure and record the electrical activity of the heart. It is a non-invasive procedure that helps in detecting various abnormalities in the heart's electrical conduction system, such as arrhythmias, heart attacks, and heart diseases. An ECG machine records the electrical activity through electrodes placed on the skin, which produces a graphical representation of the heart's rhythm and function. ECG is an essential tool in the diagnosis and monitoring of cardiac conditions, providing valuable information for healthcare professionals in managing and treating patients with heart-related issues.