The functioning of our planet relies on a constant input of energy from the sun. This energy leaves Earth in the form of heat flowing to outer space. From a systems point of view, Earth is an open system with respect to energy.