Read the following sentence and determine which type of figurative language is being used.


His smile was like a ray of sunshine when he opened his birthday gift.


A.

simile

B.

hyperbole

C.

metonymy

D.

synecdoche