The geosphere includes all the rocks that make up Earth, from the partially melted rock under the crust, to ancient, towering mountains, to grains of sand on a beach. Both the geosphere and hydrosphere provide the habitat for the biosphere, a global ecosystem that encompasses all the living things on Earth.