The diagram below depicts how electricity is produced using geothermal energy. Overall, There are five processes during the electricity production, starting with cold water that pumped down underground and ending with electricity transferred to the electric tower.
First stage is cold water is pumped down 4. 5 km depth down to the underground into the injection well. Then cold water from injection wall is heated by hot rocks in the geothermal zone before going to the production well. Afterward hot water from the production wall goes up to the surface into the condenser, where the hot water will be turned into steam.
Nextly, those steam from hot water creates power for the turbin to spin. Then spinning turbine that powered by the steam provides electricity which will be transferred to the civilians through the electric tower. 
The diagram below depicts how  
electricity
  is produced
 using geothermal energy.  
Overall
, There are five processes during the  
electricity
 production, starting with  
cold
  water
 that pumped down underground and ending with  
electricity
 transferred to the electric tower. 
First
 stage is  
cold
  water
  is pumped
 down 4. 5 km depth down to the underground into the injection well. Then  
cold
  water
 from injection wall  
is heated
 by hot rocks in the geothermal zone  
before
 going to the production well. Afterward hot  
water
 from the production wall goes up to the surface into the condenser, where the hot  
water
 will  
be turned
 into steam. 
Nextly
, those steam from hot  
water
 creates power for the  
turbin
 to spin. Then spinning turbine that powered by the steam provides  
electricity
 which will  
be transferred
 to the civilians through the electric tower.