A literary genre is a category of literary composition. Genres may be determined by literary technique, tone, content, or even (as in the case of fiction) length. The distinctions between genres and categories are flexible and loosely defined, often with subgroups. The most general genres in literature are (in loose chronological order) epic, tragedy, comedy, and creative nonfiction.
More at: Literary genre