Energy enters the ecosystem from the Sun and exits after the organisms have taken as much as they need. Organisms release energy back into the biosphere as heat. Energy also enters the ecosystem from the interior of the Earth. It is usually in the form of heat, not the electromagnetic radiation from the Sun.