Bread has a certain shelf life, beyond which it can go stale, become moldy, and, in a short time, become inedible. It’s possible to extend its delicious lifespan, once you understand the ins and outs of how to store bread.
It’s the starch in any baked goods that makes them become stale. Exposure to air and heat can make the starch crystallize or degrade more quickly. Trapped moisture is what hastens the process of mold growth.