What is the main responsibility of the public prosecutor? In one simple sentence

The main responsibility of the public prosecutor is to represent the state in criminal cases and pursue legal actions against individuals accused of committing crimes.

The main responsibility of the public prosecutor is to represent the government and prosecute individuals accused of committing crimes.

The main responsibility of the public prosecutor is to represent the state in criminal cases and ensure that justice is served.