Implantable Cardioverter-Defibrillator (ICD) or automated implantable cardioverter defibrillator (AICD) is a device implantableinside the body, able to perform cardioversion, defibrillation, and (in modern versions) pacing of the heart. The ICD is the first-line treatment and prophylactic therapy for patients at risk for sudden cardiac death due to ventricular fibrillation and ventricular tachycardia.