Which of the following is the best definition of an analogy?

An analogy is a comparison between two things that are typically unrelated, in order to explain a concept or idea.