The theory of criminal justice is the branch of philosophy of law that deals with criminal justice and in particular punishment. It has deep connections to other areas of philosophy, such as political philosophy and ethics