A figure of speech in which a word or phrase is applied to an object or action to which it is not literally applicable.
A thing regarded as representative or symbolic of something else.
Phil is a lion . (apparently Phil sleeps for 15 to 18 hours a day and is very brave when awake)
A comparison between one thing and another, typically for the purpose of explanation or clarification.
A thing which is comparable to something else in significant respects.
Life is a race. The one who keeps running wins the race and the one who stops to catch a breath loses.
My research for the difference between "metaphor" and "analogy" yielded this:
Metaphors and similes are tools used to draw an analogy. Therefore, analogy is more extensive and elaborate than either a simile or a metaphor.
However, this is not very helpful in concluding on the differences between them. (Is it different? Can something be a metaphor and not an analogy or vice-versa ?)
So, my question is, what is the distinct difference between "metaphor" and "analogy"?