An analogy is a comparison between two things Example: banana is to yellow as red is to apple OR banana:yellow as red:apple
A metaphor is a figure of speech where a word or phrase is applied and it’s not literal. Example: it’s raining cats and dogs. It’s not really raining literal cats and dogs. It’s just raining really hard.