analogy

/əˈnælədʒi/

noun

A comparison between two things, typically for the purpose of explanation or clarification.

an analogy between the workings of nature and those of human societies