which beverage did beer often replace in medieval europe?

which beverage did beer often replace in medieval europe?