As a cultural system, what is religion and how have various social theorists interpreted the role religion has in the groups that embrace it?

As a cultural system, what is religion and how have various social theorists interpreted the role religion has in the groups that embrace it?