Read this , I don’t know how to explain it though sorry:/
The primary goals of the juvenile justice system, in addition to maintaining public safety, are skill development, habilitation, rehabilitation, addressing treatment needs, and successful reintegration of youth into the community.