Metaphor.
Here's an example:
Her eyes were bright stars shining in the darkness.
This is an example of a simile, which is the opposire of a metaphor (uses like or as):
Her eyes were as bright as stars shining in the darkness.
or
Her eyes were bright, like stars shining in the darkness.
A comparison without using a connection word is called a metaphor. The connection word is like or as.
Simile
allegory
allegory
confer
A word that means without respect is disrespect.
The word "like" in a comparison is a preposition. It is used to show the similarity between two things or people.
epic simile
Simile
It is true as cannot be used in a metaphor. A metaphor is a comparison of two things without using like or as. If you use as it will be a simile!
The term is "simile" - a direct comparison of a specific attribute or set of attributes.
a simile