Opiates are substances that are used to treat pain or cause sleep. Morphine is a natural substance found in the seed pod of the Asian poppy plant. When used as a drug, morphine can treat moderate to severe pain.