Heroin, also know as dimorphine  among other names, is an opiod most commonly used as a recreational drug for its euphoric effects. It is used medically in several countries to relieve pain or in opoid replacement therapy, it is typically injected  usually into the veins but it can also be smoked snorted or inhaled. The onset of effects is usually rapid and lasts for a few hours.