A treatment in which electrical impulses are delivered to the vagus nerve to treat epilepsy and depression.