Question: are analogy a literary technique?
Answer: An analogy is a literary technique in which two unrelated objects are compared for their shared qualities. Unlike a simile or a metaphor, an analogy is not a figure of speech, though the three are often quite similar.