An analogy has some likenesses to but also some differences from the real thing.
See also the general discussion in Unifying Concepts and Processes: Evidence, models, and explanation.