Just to add to @Rae 's answer, and like I mentioned in another post, Real ID also provides ID verification instead of just age gating.
What’s the difference?
Apps that just ask for self reporting ages, like popups asking for your birthdate is what’s referred to as age gating. This practice might be compliant for your industry, but with the new PACT law coming into effect in the US on March 29 - age gating alone is not longer enough to sell vapor related products.
Age verification the act of actually capturing an image of your customer’s ID document and verifying it against a commercially available database.
I’m not sure of your use case exactly or what industry you’re in, but just want to offer that piece of info.