The heart works by electrical impulses from sinoatrial node. The procedure of recording these electrical currents created in the heart on paper is called Electrocardiography (ECG).
ECG gives valuable information about particularly rhythm of the heart, vascular diseases, heart attack and thickening of heart muscle. ECG is widely used because it is simple, effortless for the patient, easy to apply everywhere and cheap.
It takes a total of 1-2 minutes. However, in cases of rhythm problems in particular, recording of rhythm may take longer.