Detective

A detective is an investigator, either working as part of a law enforcement agency, or independently on behalf of paying clients.

Detective novels were a mainstay of Earth literature beginning in the late 19th century with the creation of Sherlock Holmes by English author Arthur Conan Doyle.