How waste is turned into fuel