what is the difference between a prosecutor and detective?
District attorney's investigators are not private detectives but law enforcement officers who work for the district attorney directly rather than the police department. They perform many of the same investigative duties as police detectives, and they can also be called upon to testify at trial.