Analogy vs example
uh-NAL-uh-jeeexample · ig-ZAM-pul
A comparison to something familiar from a different area, to make an idea click; an example is a real case of the thing itself.
“I used an analogy: a cache is like keeping your keys by the door instead of in the basement.”
When “example” is right“Here's an example: last week the cache saved us 40% of database calls.”