A class of drugs derived from the opium poppy plant, Papaver somniferum. This includes both illicit drugs (heroin) and prescription drugs (morphine).