How does a prosecutor make the decision to charge someone?

2 answers

Does he or she just go out on the street and pick someone: you, me, his grandmother? No. Does he have evidence that someone should be charged and tried? How does he/she get that evidence? Who investigates crimes? Who arrests suspects? THINK
Based on the evidence and the probable decsion of the grand jury?