what is an elegy,ode.sonnet,lyric and ballad poems?
Subcategories of the lyric are, for example elegy, ode, sonnet and dramatic monologue and most occasional poetry:
In modern usage, elegy is a formal lament for the death of a particular person (for example Tennyson’s In Memoriam A.H.H.). More broadly defined, the term elegy is also used for solemn meditations, often on questions of death, such as Gray's Elegy Written in a Country Churchyard.
An ode is a long lyric poem with a serious subject written in an elevated style. Famous examples are Wordsworth’s Hymn to Duty or Keats’ Ode to a Grecian Urn.
The sonnet was originally a love poem which dealt with the lover’s sufferings and hopes.