I like to think of think like similes and metaphors. You can compare virtually any two things together as long as there is a connection used to decribe something else.
Example :
“Without inspiration, we’re all like a box of matches that will never be lit.”
― David Archuleta, Chords of Strength: A Memoir of Soul, Song and the Power of Perseverance