Which of the following statements is an example of a metaphor?

A. The horse hooves of rain landed loudly on the tin roof.
B. Her voice was like a thick velvet blanket.
C. The trees swayed gently as nature's dancers.
D. The dog ran straight into the patch of wet cement.