What are the goals of punishment and corrections? Explain the rationale behind those goals. How does the concept of community corrections relate to these goals and rationale?

If you post your answers, someone will be glad to critique them.