Sentence:  Closely <WSD>related</WSD> to this function is the fact that the religious system provides a body of ultimate ends for the society , which are compatible with the supreme eternal ends . 
Meaning of the word marked with <WSD> tags:  being connected either logically or causally or by shared characteristics