I really highly recommend Robert Hazen's _Story of Earth_ [1] if you're into this sort of stuff. Highly knowledgeable and entertaining geologist argues that the geosphere and the biosphere should really be viewed as one co-evolving system, over deep time. There are thousands of species of minerals that can only exist because of the action of life, and those minerals in turn enable new forms of life, which enable new species of mineral, and so on in a complex and ever evolving system within which we exist for only a fraction of an instant.
[1] https://www.amazon.com/Story-Earth-Billion-Stardust-Living/d...