An analogy is the comparison of two similar ideas in order to
explain one.
Examples:
This is
not considered a good course of action; it would
be like throwing the pilot out to make the plane lighter.
Selling lucky heather around here is like trying to sell sand to the Arabs.