factors that help in shaping the ecosystem​