Read the following excerpt:
"The sun dipped below the horizon like a golden coin slipping into a vast ocean."
What figurative language device is used in this sentence?