As it has been already mentioned, there are 5 main genres:
Prose can be defined as any kind of written text that isn’t poetry (which means drama, discussed below, is technically a type of prose). The most typical varieties of prose are novels and short stories, while other types include letters, diaries, journals, and non-fiction (also discussed below).
Poetry is a form of literature that uses aesthetic and rhythmic qualities of language—such as phonaesthetics, sound symbolism, and metre.
Drama is a play that can be performed for theatre, radio or even television.
Fiction broadly refers to any narrative that is derived from the imagination — in other words, not based strictly on history or fact.
Nonfiction is that branch of writing which employs literary techniques and artistic vision usually associated with fiction or poetry to report on actual persons and events.