That is called "personification."
One of the more common examples of personification is representing a sea-faring ship as a woman. Most countries are also represented as female persons, also, in the English language.
I don't think there is such a thing as worry warts for a person to wear. A worry wart is simply a figure of speech. I also have only heard of the expression.
This figure of speech is called a metaphor. It is a literary device where one thing is described as if it were something else, in order to show similarities between them.
Its a Metephor.
Simile
Noun - is a person, place, or thing.
The phrase "what part of speech is cake" is a question.
Personification is an ontological metaphorin which a thing or abstraction is represented as a person.[
The part of speech that names a person, place, or thing is a noun. The words person, place, and thing are all nouns.
the idea given in the speech or the question asked.
A simile A simile is a figure of speech in which one thing is compared to another.
metaphor
noun, its a person place or thing.