What impact do the amounts of available energy,water, and oxygen have on an ecosystem?