Understanding plea bargaining

In the movies, when someone is wrongly accused of a crime, they go to trial. Their brilliant attorney proves their innocence, and they walk out of the courtroom a free man or woman. In the real world, things are very different. Less than 10% of criminal cases make it...