The rest of the process of generating electricity is then identical to the process using fossil fuels. The heat energy is used to boil water. The kinetic energy in the expanding steam spins turbines, which then drive generators to produce electricity.