* Interjection: This is the most common use, expressing surprise, amazement, or a sudden stop.
* Example: "Whoa! Look at that sunset!"
* Adverb: It can act as an adverb, meaning "slowly" or "carefully," often used in commands.
* Example: "Whoa, horse, slow down!"
* Noun: In some cases, "whoa" can be used as a noun, referring to the act of stopping or slowing down. This is less common.
* Example: "The horse gave a whoa and stopped at the edge of the field."
So, it's best to determine the part of speech based on the specific context in which "whoa" is used.