Elegy is a poetic lament for the dead, usually expressing sorrow or melancholy. It often reflects on the meaning of life and the inevitability of death, and can be written in different poetic forms such as elegiac couplets or stanzas.