An implantable cardioverter defibrillator (ICD) is a small device placed in the chest to monitor heart rhythms and deliver electrical impulses to restore normal heartbeat when necessary. Patients with conditions like ventricular arrhythmia, long QT syndrome, or a history of sudden cardiac arrest may require an ICD. Post-surgery, patients must avoid strenuous activities and maintain certain distances from electronic devices and machinery to ensure the ICD functions properly.