an ecosystem can be viewed as the interaction of _ and biologic