Both thermal and hydroelectric sources of energy have adverse environmental impacts. Thermal power plants emit large quantities of carbon dioxide which is a greenhouse gas. It also produces fly ash which causes pollution of land, water and other components of the environment.
Hydroelectric power projects inundate forests and restrict the natural flow of water in catchment areas and the river basins.
Thus, both need to be replaced with safer options.