Sentence:  <WSD>Closely</WSD> related 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:  in a close relation or position in time or space