Deliberate uses
Medical uses
Electric shock is also used as a medical therapy, under carefully controlled conditions:

Electroconvulsive therapy or ECT, a psychiatric therapy for mental disorders
As a surgical tool for cutting or coagulation. An electrosurgical unit (ESU) uses high currents (e.g. 10 amperes) at high frequency (e.g. 500 kHz) with various schemes of amplitude modulation to cut or coagulate
As a treatment for fibrillation or irregular heart rhythms: see Defibrillation and Cardioversion
As a method of pain relief: see Transcutaneous electrical nerve stimulation (TENS)
As a treatment for excessive sweating with a process called iontophoresis
Electrodiagnosis, for example nerve conduction studies and electromyography
Electroporation for gene delivery

Entertainment
Mild electric shocks are also used for entertainment, especially as a practical joke for example in such devices as a shocking pen or a shocking gum. However devices such as a joy buzzer and most other machines in amusement parks today only use vibration that feels somewhat like an electric shock to someone not expecting it. It is also used entertainingly for sex stimulation. This is usually done via the use of an erotic electrostimulator which induces erotic electrostimulation. These devices may include a violet wand, transcutaneous electrical nerve stimulation, electrical muscle stimulation, and made-for-play units. Policing and personal defense
Electroshock weapons are incapacitant weapons used for subduing a person by administering electric shock to disrupt superficial muscle functions. One type is a conductive energy device (CED), an electroshock gun popularly known by the brand name "Taser", which fires projectiles that administer the shock through a thin, flexible wire.
Electrical injury is a physiological reaction caused by electric current passing through the body. The injury depends on the density of the current, tissue resistance and duration of contact. Very small currents may be imperceptible or produce a light tingling sensation. A shock caused by low and otherwise harmless current could startle an individual and cause injury due to jerking away or falling. Stronger currents may cause some degree of discomfort or pain, while more intense currents may induce involuntary muscle contractions, preventing the person from breaking free of the source of electricity. Still larger currents result in tissue damage and may trigger ventricular fibrillation or cardiac arrest. Consequences of injury from electricity may  include amputations, bone fractures and orthopedic and musculoskeletal injuries. If death results from an electric shock the cause of death is generally referred to as electrocution. Electric injury occurs upon contact of a body part with electricity that causes a sufficient current to pass through the persons tissue. Contact with energized wiring or devices is the most common cause. In cases of exposure to high voltages, such as on a power transmission tower, direct contact may not be necessary as the voltage may "jump" the air gap to the electrical device. Following an electrical injury from household current, if a person has no symptoms, no underlying heart problems, and is not pregnant further testing is not required.