Explain the criminal trial process and how sentencing works in the courts.