Question: what is the difference between a prosecutor and a public defender?
Answer: The prosecutor in most criminal cases represents the district attorney's office. The district attorney is responsible for all criminal prosecutions within his jurisdiction. ... The defendant retains a defense lawyer or the court appoints a public defender if the defendant cannot afford an attorney.