Deep brain stimulation (DBS) involves implanting electrodes within certain areas of the brain. These electrodes produce electrical impulses that regulate abnormal impulses. Or the electrical impulses can affect certain cells and chemicals within the brain.