How Does a Geothermal System Work?