Answer:
In a very simple answer, it gives a group of people something to have in common. Especially in the case of immigrants, depending on where you are you may not be so welcomed in that environment and sharing a god or customs to celebrate that said god creates an automatic sense of community and being part of a "people" rather than just strangers from different walks of life.
Explanation: