In a short story, the author describes a scene where the sun sets over the ocean, saying, 'The sun dipped below the horizon like a golden coin sliding into a deep well.' This sentence uses a specific literary device to create a vivid image.
Which literary device does the author employ in this description?