Sentence:  Closely related to this function is the fact that the religious system provides a body of ultimate ends for the <WSD>society</WSD> , which are compatible with the supreme eternal ends . 
Meaning of the word marked with <WSD> tags:  an extended social group having a distinctive cultural and economic organization