Which sentence includes the use of a metaphor?

1. The day was long and dreary.
2. The wind was a giant fan.
3. Rain fell like darts from the sky.
4. The sky was dark as night.

2. The wind was a giant fan.