Heroin is an opiate.
Heroin , also known as diamorphine among other names , is an opiate most commonly used as a recreational drug for its euphoric effects . An estimated 17 million people as of 2015 use opiates such as heroin , which together with opioids resulted in 122,000 deaths .