The Role of Community in Shaping Societal Structures