Genre is a style or category to which a piece of literature may belong.

Understanding the literary genre of a text has implications for its interpretation. See the orientation in this Q&A: