Opium and poppy seeds can be taken from them . A great number of opiates , for example , morphine , thebaine , codeine , papaverine , and noscapine , are made from opium . From opium and poppy straw are extracted alkaloids such as morphine , thebaine , codeine and oripavine .