When food waste doesn’t decompose properly it creates methane gas which is 10X more potent that carbon dioxide (what burning fossil fuels emits). To take a negative and make it into a positive a Ben Jerry’s (of ice cream) fame is taking that powerful gas to make energy. Check it out: https://youtu.be/XmC8uaon8SY?si=r43AN9G66jhLiK2M