Illustration showing an implantable cardioverter-defibrillator (ICD)

An ICD works to regulate your heartbeat by delivering shocks to your heart when it detects an abnormal heartbeat.