Here's why:
* Collective nouns refer to a group of people or things considered as a single unit.
* While a community is made up of individual people, we think of it as a unified whole.
* We use singular verbs with collective nouns when we're focusing on the group as a single entity. For example, "The community *is* planning a festival."
Let me know if you'd like more examples!