A defibrillator is a medical device used to deliver a therapeutic dose of electrical energy (electric shock) to a patient's heart. The primary purpose of this shock is to terminate life-threatening arrhythmias, specifically ventricular fibrillation (VF) and pulseless ventricular tachycardia (pVT), which can lead to sudden cardiac arrest (SCA).