* Adjective: This is the most common usage. It describes something that is done secretly or without being noticed.
* Example: "The detective went undercover to gather evidence."
* Adverb: This usage modifies a verb, describing how an action is performed.
* Example: "The witness went undercover to protect their identity."
* Noun: This is less common, but it can refer to the state of being undercover.
* Example: "The undercover operation was a success."
To determine the part of speech, consider its role in the sentence and how it relates to other words.