Recovering Energy from Waste: Various Aspects