There are different alkaloids that naturally occur in opium. Opium is produced from Opium poppy. The most important ones are morphine, codeine and thebamine. Papaverine and noscarpine also occur in opium, but the way they work is different. Most of the time, they are therefore not counted as "opiates".