A public defender is an actual attorney that is employed by the government to represent the accused who can't afford…