Incarceration Ethics

Most Americans today are familiar with the prison and criminal justice system, and the United States has the greatest incarceration rate in the world, but what is the philosophy behind our prison system? Is it supposed to be punitive or reformative? Have we developed a prison-industrial complex? And what rights do we and ought we deny someone who has committed a crime?