For years, health care providers have treated ventricular fibrillation by giving the patient a strong electrical shock to the chest. This is called defibrillation. One thing an ICD does is deliver a strong electrical shock to defibrillate the heart from the inside. This is a life-saving measure.