A police officer or private investigator is called a detective to help solve a crime.