Opioids work through the mu opiate receptors throughout the body and brain, dampening pain signals being sent through the peripheral nervous system and spinal cord. It also acts on the ventral tegmental area, causing the release of dopamine in the nucl…