The design of thermal power stations depends on the intended energy source: fossil fuel, nuclear and geothermal power, solar energy, biofuels, and waste incineration are all used. Certain thermal power stations are also designed to produce heat for industrial purposes; for district heating; or desalination of water, in addition to generating electrical power.