* Adjective: When describing a quantity, like "ten apples".
* Noun: When referring to the number itself, like "I counted to ten".
* Numeral: This is a specific category for words that represent numbers, so "ten" could be considered a numeral in both the adjective and noun uses.
Therefore, the part of speech of "ten" is determined by its function in the sentence.