Analogy
As far as I can understand, it's drawing out similarities in two dissimilar things, to further clarify certain things or make things even more comprehendible.
Comparing two unlike things based on resemblance of a particular aspect.
It's always recommended to talk in compare and contrast terms.
Because we tend to remember things that are striking.
Naval-
"When you combine things you're not supposed to combine, people get interested."
That's why i guess it's fun to watch Tanmay Bhatt's financial literacy videos.
Analogies help you connect two distinct dots and helps you see things in a different light, from a perspective which is quite unlike the prevailing one.
Ergo,The grammar rule of don't compare apples to oranges does not stand vindicated in real life.