Detective fiction is a fiction genre that displays detective characters who solve criminal cases.
The word detective comes from the Latin detectus, which means found.
The detective character first appeared in the short story of Edgar Allan Poe entitled The Murders in the Rue Morgue in 1841.
Sir Arthur Conan Doyle created the famous detective character Sherlock Holmes in 1887.
Agatha Christie, an English writer, is one of the best writers in this genre with his works such as Murder on the Orient Express and Death on the Nile.
Most detective stories involve murder and detective characters must resolve the case by gathering evidence and analyzing the information obtained.
This genre has become popular throughout the world and has been adapted into various forms of media, including films, television, and video games.
Some famous detective characters besides Sherlock Holmes and Hercule Poirot are Miss Marple, Philip Marlowe, and Sam Spade.
There are several subgenre in detective fiction such as hard-boiled, cozy mystery, and police procedural.
Detective fiction also often uses twist ending techniques, where readers or spectators are presented with surprises at the end of the story that change their views about the case.