A hyperbole is an exaggeration of something, but a metaphor is comparing something (not necessarily an exaggeration).
Hyperbole example:
She's as skinny as a toothpick.
Obviously, the girl is not as skinny as a toothpick, however, it is being used to show that she is extremely thin.
Metaphor example:
She is a big baby.
Here you are comparing her to a baby, not because she is one, but because she may act like on at times.