the word 'twenty-five' can be used as a noun. As a noun, it means the number that comes after twenty-four and before twenty-six. Its role in the English language is to express a specific quantity; in this case, the quantity is twenty-five.
1. I only have twenty-five dollars left.
2. A class of twenty-five students just graduated.
3. I’m twenty-five years old.