Answer :
The sun. Plants and other producers use sunlight to make food and someĀ organisms feed on them and other ones feed on those and the food chain goes on.
In most ecosystems the Sun is the main source of energy