Electroconvulsive therapy or electroshock therapy is a psychiatric treatment during which a generalized seizure is electrically induced to manage refractory mental disorders.