For all ecosystems the basic source of energy I

Water

Plants

Sun

Fire