What is the meaning of Hangman?

An executioner responsible for hanging criminals.

Someone responsible for hanging pictures and other artworks in a gallery, museum etc.

A guessing game where one has to guess the word an opponent is thinking of by guessing one letter at a time, and involving the gradual drawing of a stick figure hanging from the gallows.

Source: wiktionary.org