Steps of Criminal Justice System
At the preliminary hearing, if there is enough evidence then there is the arraignment where the suspect pleads guilty of not guilty. if there is not enough evidence then the case is called off. If the suspect pleads guilty, then he is given a sentence and put in jail, and given the chance to appeal (to request a change to the sentence.) If the suspect pleads not guilty then a trial date is set.
After the trial date is set the defense attorney can "discover" (interview witnesses and view documents with evidence.) Then at the trial the judge decides if the suspect is guilty or not guilty. If he is not guilty he is free to go home, but if he is guilty then he recieves a sentence and can appeal it if he wishes.