What is the meaning of Watchman?

One set to watch; a person who keeps guard, especially one who guards a building, or the streets of a city, by night.

Source: wiktionary.org