Complex chemical reactions go on in food all of the time – even if you’re not cooking them. Some of these reactions make food go off.
For example, bananas turn brown because a hormone within them triggers the release of ethylene gas (C2H4). This accelerates the ripening processes until the banana becomes over-ripe.