A detective is a person who investigates crime. Most detectives are police officers. Some are hired by a private person or company, for example to stop theft. Those are called private investigators. There are many stories about detectives. Some famous fictional (not real) detectives are Sherlock Holmes, Inspector Clouseau, Nancy Drew, The Hardy Boys.