Crime fiction is the genre of fiction that deals with crimes, their detection, criminals, and their motives. It is usually distinguished from mainstream fiction and other genres such as science fiction or historical fiction, but boundaries can be, and indeed are, blurred.