Opioids act on specific receptors in the brain and the body, which also interact with naturally produced substances known as endorphins or enkephalins – important in regulating pain. While prescription pain relievers can be highly beneficial if used as prescribed, opioids as a general class of drugs have a high potential for abuse.