TENS works on the principle of electrical stimulation. When the device sends electrical currents through the electrodes, it stimulates the sensory nerves. This can interrupt or block the pain signals being sent to the brain, thereby providing relief. Additionally, TENS may stimulate the production of endorphins, the body's natural painkillers.