An Implantable Cardioverter Defibrillator (ICD) is a small device implanted in the chest to monitor heart rhythms and deliver electrical shocks to restore normal rhythm when life-threatening arrhythmias occur. It is primarily used in patients at high risk of sudden cardiac arrest due to ventricular tachycardia or fibrillation, providing a critical safety net to prevent sudden death.