An independent person who investigates crimes and looks into records. The detective is either employed by the police or by a private individual.
Sherlock Holmes is one of the most well-known detectives in fiction and thus influences the traditional detective's "outfit" consisting of a trench coat, deerstalker hat, pants, magnifying glass, and sometimes, even a wooden smoking smoking pipe.