An opioid is a psychoactive chemical that works by binding to opioid receptors, which are found principally in the central and peripheral nervous system and the gastrointestinal tract. The receptors in these organ systems mediate both the beneficial effects and the side effects of opioids. Opioids are among the world’s oldest known drugs; the therapeutic use of the opium poppy predates recorded history.