Which one of the following sentences is an example of a metaphor?

A. She eats like a bird.
B. I'm as hungry as a wolf.
C. I am a rock.
D. The breeze blew the branches back and forth.