A transcutaneous electrical nerve stimulation (TENS) unit is a battery-operated device that some people use to treat pain. TENS units work by delivering small electrical impulses through electrodes that have adhesive pads to attach them to a person's skin