Energy in the Earth System