* Noun: This is the most common use. It refers to the piece of cloth used as a symbol.
* Verb: It can mean to signal or mark with a flag. Example: "They flagged down the taxi."
* Adjective: It can describe something related to flags, like "flag ceremony".
To figure out the part of speech, look at how it's used in the sentence and consider its meaning.