Detective fiction belongs to the crime genre and is broadly recognized as one of the key tenets of the mystery subgenre.