“We are observing wasted heat in everyday life for example in Pakistan heavy generated are installed, during their supply of electricity an excessive amount of wasted heat is produced in its surrounding, similarly when we drive a vehicle a heat is available in the surrounding of engine of that vehicle, we can also see many more such examples of wastage of heat. This heat is effecting the environment of Pakistan badly.

Is it conceivable to convert this wasted heat into some useful work/energy/electricity or not. If yes how? If no why