This is the 2365th most frequent Korean word.
곳을
"곳을" means "place" or "location" as an object in a sentence.
Here, "곳을" indicates the object place where the action (taking a walk) will take place.
그는 산책할 곳을 찾고 있어요.
He is looking for a place to take a walk.
In this sentence, "곳을" refers to the specific place that holds the memories as the object of revisiting.
행복한 추억이 담긴 곳을 다시 방문했어요.
I revisited a place filled with happy memories.
Here, "곳을" functions as the direct object describing the location that is explored based on the friend’s recommendation.