Poppy seed is the seed from the poppy plant. People take poppy seed by mouth for asthma, constipation, cough, diarrhea caused by infection, difficulty sleeping, and to diagnose a condition called vesicoenteric fistula. In foods, poppy seed is used to make cakes, pastries, filling, glaze, or porridge. In manufacturing, poppy seed oil is used to make soap, paint, and varnish.