The prosecutor is the attorney who will represent the state of Pennsylvania, making the case that you should be convicted of the crimes with which you’ve been charged. They may do this by:
Collecting evidence: Like a criminal defense lawyer, the prosecutor will try to build a compelling case. However, their goal is to find and highlight evidence that incriminates you.
Finding witnesses to testify against you: They will interview people who witnessed the alleged offense or who do not think highly of you and are willing to speak to your supposed lack of character in court.
Representing the state in court: If your case goes to trial, the prosecutor and their team will oversee presenting the case against you. They may even question you on the stand if you do so in your defense.