Explanation:
First of all let's see, what's an ecosystem?
What this means is that the ecosystem is a product of a specific community. There are several types of ecosystems, for example, a marine ecosystem, the rain forest ecosystem etc.
Now, what's a community?
What happens with the community is that the definition of it does not extend to the specifics of which types of ecosystems can come out of the myriad of communities that exist.
Conclusion: Therefore, a community is a formed group of beings with common locality and with a capacity to come together under a common denominator to establish as specific mode of existence, namely, an ecosystem.
I hope this was helpful ! :)