Waste and biomass valorization