Here's an example of a metaphor:
"Her voice was music to his ears."
In this metaphor, the speaker is not saying that the person's voice literally transformed into music. Instead, it suggests that the sound of her voice brought him joy, comfort, or pleasure, just as music often does. The metaphor creates a vivid and imaginative comparison between the sound of her voice and the experience of listening to beautiful music.