What makes "O Captain! My Captain!" an elegy?

A: It was written to stir patriotic sentiment.
B: It is a poem that has the sea as its setting.
C: It is a poem with three stanzas of equal length.
D: It was written in memory of someone who died.

Q&A Education