Incisions are made in the walls of the green seed pods, and the milky exudation is collected and dried. Opium and the isoquinoline alkaloids morphine, codeine, noscapine, papaverine, and thebaine are isolated from the dried material. Poppy seeds are used as a condiment with baked goods and pastries for their nutty odor and flavor. Poppy oil is widely used as an edible cooking oil. Morphine is the raw material from which heroin is obtained.
Poppy plants are important as ornamental plants in flower gardens.
Poppy is one of the most important medicinal plants. Traditionally, the dry opium was considered an astringent, antispasmodic, aphrodisiac, diaphoretic, expectorant, hypnotic, narcotic, and sedative. Poppy has been used against toothaches and coughs. The ability of opium from poppy to serve as an analgesic is well known. Opium and derivatives of opium are used in the pharmaceutical industry as narcotic analgesics, hypnotics, and sedatives.