The categories into which texts are grouped. The term has a complex history within literary theory and is often used to distinguish texts on the basis of their subject matter (for example, detective fiction, romance, science fiction, fantasy fiction), form and structure (for example, poetry, novels, biography, short stories).