Opioids attach to receptors in the brain, which release signals that muffle pain receptors and boost feelings of pleasure. This can be highly effective in controlling pain, but the high from it makes it incredibly addictive.