We can figure this out simply by observing the way the sentence was written. The part "...and being <em>there</em> brought comfort." is an easy way to determine the answer. <em>'There'</em> being the key word. This indicates that what we are talking about is a place. And looking at the options, graveyards are the only place. So that would be your answer.