Dear Student,
The motive of both the lawyers are same to prove their case and point right in the court and to save their suspect.
Both prosecutor and public lawyer are lawyers who participate in the trial period on the cases and make the most use of their role. They both are fighting from the government only .
The role of prosecutor is to charge the victim and make them feel guilty to accept their mistake which they do.
They both are lawyers and both of them are having their own importance in the particular case.
They both are different from defence lawyer.
Regards,