A prosecutor is a lawyer who argues in a court that the defendant should be found guilty of a crime. The prosector represents a client, which is sometimes the state (government). It is the prosecutor's job to do what he can to have criminals punished for their crimes.