Comment by chneu
Radiolab did an amazing episode on food freshness. They talk about plastic produce packaging, which is a bit of a modern marvel.
https://radiolab.org/podcast/forever-fresh
Tldr: those plastic bags that salads come in are WAY more interesting than you think. They're selectively permeable membranes that only allow certain gasses in/out.