What is the meaning of Prosecuting_attorney?

A public officer charged with carrying on the prosecution or representing the state in criminal proceedings and, in some jurisdictions, instituting or representing the state in civil or administrative proceedings.

Source: wiktionary.org