Read the sentence below:

The mosquitoes buzzed in the air around my hair like a swarm of miniature assassins.

Which of the following correctly describes this sentence?

a It has a positive connotation.
b It has a negative connotation.
c It uses an allusion.
d It uses a metaphor.

d It uses a metaphor.