elegy.

elegy - (noun) a poem of serious reflection, typically a lament for the dead.