system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5 How do folks make sun dried tomatoes without bacteria or bugs ruining the tomatoes?

That’s pretty much the post, I have always eaten them without knowing how they are safe to eat.
gpt
They're treated with salt before being laid out to dry.  Then since they're losing vast amounts of their water during the process, they're less hospitable environments for bacteria to grow.  Between losing so much water and containing a bunch of salt, bacteria really don't have a chance.