This is the 6790th most frequent Russian word.
visit
The Russian word "визит" (visit) means "a short stay or trip to see a person, place, or thing."
The word навестить is employed to indicate visiting someone, usually a person, to spend time or check up on them.
Мы навестим бабушку в выходные.
We will visit grandmother on the weekend.
The word осмотреть in this context means to visit a place, typically for the purpose of viewing or learning during such activities like excursions.
Экскурсанты осмотрели музей во время экскурсии.
The tourists visited the museum during the tour.
The word посетить is used here to describe the regular action of going to a place for a purpose, in this case, visiting the library.