The role of the prosecutor

  What is the role of the prosecutor (i.e. job duties) and why is a prosecutor needed in the criminal justice system?