Analogy is a comparison or correspondence between two things (or two groups of things) because of a third element that they are considered to share.
Logically, it is an inference or an argument from one particular to another particular, as opposed to deduction, induction, and abduction. It is also used where at least one of the premises, or the conclusion, is general rather than particular in nature. It has the general form A is to B as C is to D.
