It is an of unlike things without using like or as.
Example: Mrs. Gia's hair is a rat's nest.
metaphor
I am a mistake could be seen as a metaphor for feeling unworthy or not living up to expectations. It conveys a sense of self-doubt and inadequacy.
The world is a stage and we are all actors playing our parts.
metaphor
Her voice was music to his ears. Time is a thief. The world is a stage. Love is a battlefield. His words were a dagger to her heart. The stormy relationship finally hit rock bottom. The classroom was a zoo today. Life is a rollercoaster of emotions. The city was a concrete jungle. Her laughter was a melody. The night sky was a blanket of stars. His words were a double-edged sword. Time is money. The ring on her finger was a symbol of commitment. The truth was a bitter pill to swallow.
metaphor
j
j
"I am a rainbow" is a example of metaphor because it is comparing two nouns, a person, and a rainbow, but does not use like or as. "I am not anger" is an example of metaphor because it is contrasting two nouns.
Metaphor
"I am a rock!" is a metaphor.
I am a rainbow