Do items despawn if left on the ground?

I'm new to this game but I have played Stardew valley in the past.

How does the item despawn mechanic work in this game?

For example if I forage something like a daffodil in The Narrows does it despawn if I sleep? or does it permanently stay there?