Classify this sentence as either a simile or a metaphor: The moon was a light in the darkness.
The moon was a light in the darkness.
This sentence is a metaphor.
Complete the following task based on the instruction and optional input provided.### Instruction:
Classify this sentence as either a simile or a metaphor: The moon was a light in the darkness.

### Input:
The moon was a light in the darkness.

### Output:
This sentence is a metaphor.