Okay kiddo, have you ever heard of a superhero that fights bad guys and puts them in jail? Well, a public prosecutor is like a superhero for the law. Their job is to make sure that people who break the law get punished.
So let's say someone did something really bad, like steal someone's lunch money. Now the police have caught this person and they need to be punished in court. The public prosecutor is the person who represents the government in court and tries to prove that the bad guy did indeed steal the lunch money.
But that's not all they do! Public prosecutors also help investigate crimes, decide which cases are worth taking to court, and work with the police to gather evidence. They also make sure that everyone involved in a case is treated fairly, because it's important that nobody is punished for something they didn't do.
So next time you see a public prosecutor in a movie or on TV, you'll know that they're like the superhero of the legal system, fighting for justice and making sure that bad guys don't get away with doing bad things.