Either one makes sense on its own, but, though very similar, they are not exactly the same. When you draw an analogy you are doing more than just making a comparison. An analogy is more detailed.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.