Beers can be aged in barrels to achieve a variety of effects, such as imparting flavours from the wood (from tannins and lactones) or from the previous contents of the barrels, or causing a Brettanomyces fermentation.