Because the opium extracted from poppies is a sedative, the poppy is a symbol for “eternal sleep”. It represents the peace, rest and (eternal) sleep of the deceased person.
The poppy also has a long association with Remembrance Day (as one of the only plants to grow on the otherwise barren battlefields after World War One).