Opium (also known as poppy tears, or Lachryma papaveris) is the dried latex obtained from the seed capsules of the opium poppy Papaver somniferum. Approximately 12 percent of opium is made up of the analgesic alkaloid morphine, which is processed chemically to produce heroin and other synthetic opioids for medicinal use and for the illegal drug trade. Opium's main psychoactive alkaloids, primarily morphine, act on μ-opioid receptors, causing analgesia and addiction with long-term use leading to tolerance, dependence, and increased cancer risk. The latex also contains the closely related opiates codeine and thebaine, and non-analgesic alkaloids such as papaverine and noscapine. The traditional, labor-intensive method of obtaining the latex is to scratch ("score") the immature seed pods (fruits) by hand; the latex leaks out and dries to a sticky yellowish residue that is later scraped off and dehydrated.
The English word for opium is borrowed from Latin, which in turn comes from Ancient Greek: ὄπιον (ópion), a diminutive of ὀπός (opós, "juice of a plant"). The word meconium (derived from the Greek for "opium-like", but now used to refer to newborn stools) historically referred to related, weaker preparations made from other parts of the opium poppy or different species of poppies. The Mediterranean region holds the earliest archaeological evidence of human use of opium poppies dating back to before 5000 BCE, with cultivation beginning around 3400 BCE in Mesopotamia. Opium was widely used for food, medicine, ritual, and as a painkiller throughout ancient civilizations including Greece, Egypt, and Islamic societies up to medieval times.