The passing and recycling of different chemical elements through biotic and abiotic components of the biosphere.