Primary goal of the criminal justice system

  What is the primary goal of the criminal justice system? Do you agree with the goal? Why or why not?