An analogy compares the relationship between two things or ideas to highlight some point of similarity. It is a way to clarify an idea or an unfamiliar concept by comparing it to something familiar.
Butterfliles is to swarm as fish is to school.
What is an example of an analogy?
In this example, swarm refers to a si of butterflies. Similarly, school is the specific term for a group of fish. Both the pairs of words in the analogy illustrate the same relationship.