Elegy

/ˈɛl.ə.dʒi/ noun medium

A mournful poem or song written as a tribute to someone who has died.

The poet laureate composed an elegy for the fallen soldiers, read aloud at the memorial.

Memory Trick

Elegy sounds like 'eulogy' — both honor the dead, but elegy is the poetic, musical cousin.