In books, the mystery genre usually (but not always) refers to fiction. Within the mystery genre, there are several types, including, but not limited to, police procedurals, detective stories, hard-boiled detective stories, espionage, medical mysteries, some thrillers, some speculative fiction, cozies, and closed-room mysteries.