There's rosemary, that's for remembrance; pray, love, remember; and there is pansies, that's for thoughts... There's fennel for you, and columbines; there's rue for you, and here's some for me; we may call it herb of grace o' Sundays. O, you must wear your rue with a difference.
Hamlet 4.5
In Shakespeare’s time, rosemary was a symbol of remembrance, friendship, and fidelity, used in weddings—and funerals. When Ophelia says, “There’s rosemary, that’s for remembrance,” Shakespeare’s audiences knew that she was hinting at her own death. It was prescribed for a variety of ills, including baldness, nightmares, tooth decay, and relationship problems.
Youtube video on how to pronounce this flower.