An elegy is a poem written about death. A good example is Thomas Gray's, "Elegy in a Country Churchyard," where he describes his thoughts while walking through the church graveyard and imagining what the people there did or could have done had they not met an early death.