They went on a sightseeing trip around the area.
Sightseeing is a frequent reason to visit San Francisco.