Cardinal numbers (“one,” “two,” “three,” etc.) can be placed before a noun to give information about quantity, and ordinal numbers (“first,” “second,” “third,” etc.) can be placed before a noun to give information about order.
While these numbers look like adjectives, they are in fact quantifiers, which is a type of determiner.