Elegy.....
Elegy is a sad poem or lamentation over the death of a person.
Example:
In the poem
She Dwelt among the Untrodden Ways,
William Wordsworth laments over the death of Lucy.