Electroconvulsive therapy (ECT) is a procedure in which electric currents are passed through the brain, intentionally triggering a brief seizure. ECT seems to cause changes in brain chemistry that can quickly reverse symptoms of certain mental illnesses. It often works when other treatments are unsuccessful.
Much of the stigma attached to ECT is based on early treatments in which high doses of electricity were administered without anesthesia, leading to memory loss, fractured bones and other serious side effects.
ECT is much safer today and is given to people while they're under general anesthesia. Although ECT still causes some side effects, it now uses electrical currents given in a controlled setting to achieve the most benefit with the fewest possible risks.