Noun: When "threat" refers to something that is a source of danger or harm, it's a noun.
* Example: "The storm posed a serious threat to the coastal towns."
Verb: When "threat" means to warn or to express a possible harm, it's a verb.
* Example: "The bully threatened to hurt the younger boy."