Beer is the world's most widely consumed and probably oldest alcoholic beverage; it is the third most popular drink overall, after water and tea. It is produced by the brewing and fermentation of sugars, mainly derived from malted cereal grains, most commonly malted barley and malted wheat. Sugars derived from maize (corn) and rice are widely used adjuncts because of their lower cost. Most beer is flavoured with hops, which add bitterness and act as a natural preservative, though other flavourings such as herbs or fruit may occasionally be included. Some of humanity's earliest known writings refer to the production and distribution of beer: the Code of Hammurabi included laws regulating beer and beer parlours, and "The Hymn to Ninkasi", a prayer to the Mesopotamian goddess of beer, served as both a prayer and as a method of remembering the recipe for beer in a culture with few literate people. Today, the brewing industry is a global business, consisting of several dominant multinational companies and many thousands of smaller producers ranging from brewpubs to regional breweries.
The strength of beer is usually around 4% to 6% alcohol by volume (abv) though may range from less than 1% abv, to over 20% abv in rare cases.
Beer forms part of the culture of beer-drinking nations and is associated with social traditions such as beer festivals, as well as a rich pub culture involving activities like pub crawling and pub games such as bar billiards.