A carpenter is to a hammer as a painter is to a paintbrush.
An analogy is a comparison in which an idea or a thing is compared to another thing or idea that is very different from it. It seeks to explain that idea or thing by drawing a comparison between it and something that is familiar. Metaphors and similes are tools employed to draw an analogy.
Analogy plays a significant role in problem solving, as well as decision making, argumentation, perception, generalization, memory, creativity, invention, prediction, emotion, explanation, conceptualization and communication.