What is the Definition of Analogy?

Analogy is comparison, similarit and equivalence between independent parts. Analogy is when you compare tow things that are similar in some ways.