Dear Student,
A prosecutor is a legal professional who charges an individual, accusing him/her to have broken the law, in a criminal trial in a court. Mostly, prosecutors are hired by the government against offending individuals and they are as such known as public prosecutors.
Regards.