Which two layers of the Earth do living things rely on and why ?