Which of the following is a metaphor?[Red-headed family]

AHis hair is flame redincorrect answer
BLike a flame, his hair is redincorrect answer
CIn the sunlight, his hair is flameincorrect answer
DHis hair is red as a flame

Correct answer: B

Like a flame, his hair is red