The Reinheitsgebot, or the German Purity Law, originally allowed only water, hops, and barley to be used in brewing beers in Germany. This was to ensure the quality and safety of the beer. However, Hefeweizen, being a wheat beer, is an exception to this rule, emphasizing the importance of yeast in its production.