The driving force for an ecosystem is
The energy the Earth receives from the sun, primarily as visible light and other forms of electromagnetic radiation.