What is the Legal Gambling Age?

I believe that all states are the age of 21. So is the drinking age. Which I don’t totally agree with, because if they can draft you at 18, I think 18 should be the limit, but that’s just my thought.