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.