Defendant is advised of his/her rights, advised of the charge, advised of possible penalties, bond is set and a plea may be entered.
An exchange of information between the two sides.
To determine if a crime was committed and if the defendant may have committed the crime, (probable cause).