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.