You buy your package fruit and veg and they have a few days shelf life. Once these go out of date, people dispose of them (if they are daft) or the supermarkets do if they aren’t sold
Yet, if you pick up loose fruit and veg, there are no dates and you need to use your common sense of when they need to be disposed.