The muscle fibres (muscle cells) of a certain part of the heart are specialised to generate electric currents that cause the normal rhythmic heartbeats. An instrument called the Electrocardiograph can record the electrical changes during a heartbeat. This graphic records the electrical changes during a heartbeat. This graphic recording is called ECG (Electrocardiogram). ECG is done to detect the area of malfunctioning of the heart. So that treatment can be given accordingly.