You as the narrative voice put in a simile under the pretext that you’re helping the reader to understand better what something looks like or feels like. In fact, it’s just an excuse to put in a little espresso shot of what you hope is lyrical beauty.
From a GQ interview with Ned Beauman about his second novel, The Teleportation Accident.