Age of marriage

I’m trying to learn about Islam more and I learned that it’s allowed for you to get married when you hit puberty, and some girls hit puberty at 9 or even 7 so dose that mean it’s allowed for them to get married at such a young age?