As a noun:
* The poet wrote an elegy for his deceased friend, filled with poignant memories and heartfelt grief.
* The melancholic music of the symphony was an elegy for a lost era.
* Her painting, with its muted colors and somber composition, was an elegy for her shattered dreams.
As an adjective:
* The elegiac tone of the speech moved the mourners to tears.
* The elegiac verses of the poem resonated deeply with the audience.
* The elegiac melody of the violin filled the air with a sense of longing and loss.
Note: "Elegy" can also be used as a verb, but it is less common. It means "to write or compose an elegy."
* The poet elegized the fallen soldier in a moving poem.