The implantable cardioverter defibrillator, or ICD, is a smart device that is smaller than the palm of the hand. It consists of a box and wires.