Depends on the state. In some, even children under 18 can drink in a bar if their parents buy (I think Wisconsin).
And its not all the US at 21 to buy, in Puerto Rico you can buy alcohol at 18. Federally all those are legal at 18.