Food exposed to air and sunlight eventually changes its color and odor. This is a sign of a chemical reaction.
Turn air and sunlight on/off to see how spoilage speed changes.