Churches can be called agents of socialization
Simply put, they connect people who are willing to follow these rules and live together following this rule system. These codified commandments bring people together and they can have a wide array of activities that brings them closer or gets new people to be with them.