bar / barre are similar-sounding terms with different meanings (referred to as homophones). To better understand the differences, see below for definitions, pronunciation guides, and example sentences using each term. 👇
bar: (noun) a counter where you can obtain food or drink. (noun) a rigid piece of metal or wood; usually used as a fastening or obstruction or weapon. (noun) an obstruction (usually metal) placed at the top of a goal. (noun) (meteorology) a unit of pressure equal to a million dynes per square centimeter. (noun) a submerged (or partly submerged) ridge in a river or along a shore. (noun) a horizontal rod that serves as a support for gymnasts as they perform exercises. (noun) a heating element in an electric fire. (noun) (law) a railing that encloses the part of the courtroom where the judges and lawyers sit and the case is tried. (verb) prevent from entering; keep out. (verb) secure with, or as if with, bars.
barre: NA
bar: b·AA·r
barre: b·EH·r·iy
(Examples are Wikipedia snippets under the CC ShareAlike 3.0 license. Definitions drawn from WordNet.)