"There is an ancient Klingon proverb that says...you cannot loosen a man's tongue with root beer."

Root beer was a non-alcoholic carbonated beverage that originated on Earth.

It was one of the items sold at Pops Candy Store in 1893 San Francisco. (TNG: "Time's Arrow, Part II")

In 2004, Loomis ordered French fries and a medium root beer at a drive-thru. (ENT: "Carpenter Street")

By the 24th century, it was available across the Federation. On Deep Space 9, root beer was served at Quark's and became a favorite drink of Nog after he was accepted at Starfleet Academy. (DS9: "The Ascent", "Homefront")

The labels of the root beer bottles seen in " The Ascent " bore the image of a tree growing up from the planet Earth, with the tagline "Curiously Delightful". A bottle was auctioned off in the It's A Wrap! sale and auction on eBay. [1]

Quark and Elim Garak both despised root beer, calling it "vile" and considering it a metaphor for the "insidious" pervasiveness of the Federation; Quark remarked to Garak that root beer was "so bubbly and cloying, and happy... just like the Federation", also noting that "if you drink enough of it, you begin to like it – just like the Federation." Quark asserted that Nog's acquired taste for the beverage heralded the end of Ferengi civilization. (DS9: "Facets", "The Way of the Warrior")

After traveling back in time to 1947, Quark mentioned root beer to General Rex Denning as an example of his knowledge of Human culture. This was a bluff to cover his lack of knowledge. (DS9: "Little Green Men")

However, Quark – never blind to the potential for profit – welcomed the acceptance of Bajor's petition for Federation membership in 2373, predicting sales of root beer alone to increase by five. (DS9: "Rapture")

In 2374, while Deep Space 9 was under Dominion control, he even confessed that he wanted the Federation to retake the station so that he could sell root beer again. (DS9: "Behind the Lines")

While Alexander Rozhenko served aboard the IKS Rotarran in 2374, crewmate Ch'Targh mockingly suggested that he might prefer root beer (with a lump of ice cream in it) to Klingon bloodwine. (DS9: "Sons and Daughters")

Though not named in the episode, this drink would be a root beer float.