As much as possible, do not throw away spoiled food. Rotting food in landfills will emit methane, a greenhouse gas that contributes to global warming. But with this zero waste cooking tips, we are confident that you are unlikely to throw away food. But in case there are instances that you got spoiled food, the best thing to do is compost them.