Endorphins bind to opioid receptors in the brain, reducing the perception of pain. These receptors are the same ones that bind opioid medications such as morphine and codeine. By interacting with these receptors, endorphins inhibit the transmission of pain signals, thereby providing relief. Additionally, endorphins can induce feelings of euphoria, which is often termed the "runner's high."