Answer:
An elegy is a song or poem of lament, especially for the dead. Dead means not only a person but can also be beloved animals and even villages. Thomas Gray's Elegy Written In A Country Churchyard is about the forefathers of a country. Oliver Goldsmith's Deserted Village is about the loss of virtues from a village. A poem titled Elegy On The Death Of a Mad Dog also has been written. Tennyson's In Memoriam is about the death of his friend Arthur Hallam. So elegies can be about the loss of anything that one considers dear.