Corrections involves the administration of programs for treating and rehabilitating offenders, including penal custody, parole, and probation. It includes jails, prisons, and community corrections like probation and parole. Jails are local facilities that hold offenders with short sentences or awaiting trial, while prisons are state or federal facilities that incarcerate convicted offenders for long periods. Community corrections supervises offenders in the community through agencies, organizations, and programs.