An analogy is comparable to metaphor and simile in that it shows how two different things are similar, but it’s a bit more complex. Rather than a figure of speech, an analogy is more of a logical argument. The presenter of an analogy will often demonstrate how two things are alike by pointing out shared characteristics, with the goal of showing that if two things are similar in some ways, they are similar in other ways as well.
from here: http://www.copyblogger.com/metaphor-simile-and-analogy-what’s-the-difference/