Like defibrillation, electrical cardioversion involves delivering a small electrical shock to the heart. It aims to restore a normal heart rhythm in the presence of an arrhythmia. Atrial fibrillation and atrial flutter are common heart rhythm abnormalities that are sometimes treated with cardioversion. In some cases, supraventricular tachycardia and stable ventricular tachycardia can also be treated by cardioversion.