Opioids are natural (partially endogenous like endorphins) and synthetic substances that dock to opioid receptors in the CNS and that can sedate, relieve pain and cause euphoric states.
https://de.wikipedia.org/wiki/Opioide (Wikipedia CC-by-sa-3.0)