analogy
anal·o·gy
/əˈnæləʤi/ noun , pl -gies
1 [ count ] : a comparison of two things based on their being alike in some way
He drew/made an analogy between flying a kite and fishing. [=he compared flying a kite to fishing; he said that flying a kite was like fishing]
2 [ noncount ] : the act of comparing two things that are alike in some way
coining new words by analogy to/with existing ones [=coining new words so that they are formed in a way similar to old ones]
reasoning by analogy