The cycling of matter and energy through Earth's global systems, which includes both abiotic and biotic processes.