Meaning of “bar” - Learner’s Dictionary

bar

noun [ C ] uk us /bɑːr/
DRINKING

A1 a place where alcoholic drinks are sold and drunk, or the area behind the person serving the drinks:

I met him in a bar in Soho.
BLOCK

B1 a small block of something solid:

a chocolate bar
gold bars
LONG PIECE

B2 a long, thin piece of metal or wood:

There were bars on the downstairs windows.
PREVENTING SUCCESS

something that prevents you doing something or having something:

Lack of money should not be a bar to a good education.
MUSIC

one of the short, equal groups of notes that a piece of music is divided into:

The band played the first few bars.
the bar

lawyers thought of as a group:

Haughey was called to the bar (= became a lawyer) in 1949.

(Definition of “bar noun” from the Cambridge Learner’s Dictionary © Cambridge University Press)