* Adjective: When it modifies a noun, describing quantity. Example: "There are two cats in the yard."
* Noun: When it refers to the number itself. Example: "Two is an even number."
* Pronoun: When it stands in for a noun, usually in a list. Example: "We have two options: go to the beach or stay home."
* Numeral: This is the most accurate classification for "2" as it directly expresses a quantity.
It's important to note that the specific part of speech depends on the context in which the number is used.