A prosecutor is a trial lawyer representing the government in a criminal case and the interests of the state in civil matters. In criminal cases, the prosecutor has the responsibility of deciding whom to prosecute and when and how to do so.