Functioning of terrestrial ecosystems governed by three main