Original: The main active ingredient of beer is alcohol, and therefore, the health effects of alcohol apply to beer.
Simplified: Normal beers have around 4-6% alcohol (for the volume, i.e. in 100ml beer there is 4-6ml alcohol). In brewing beer, the amount of alcohol can be made more or less quite easily.