A prosecutor is a lawyer who represents the government in bringing criminal charges against a person accused of a crime.