Ginger beer is made by fermenting ginger, sugar, and water with yeast, resulting in a sweet and spicy drink.