Judicial punishment is a formalized method for administering sanctions against individuals who have been found guilty of violating laws, designed not only to penalize but also to deter future offenses and rehabilitate offenders. It is governed by the legal system which ensures that punishments are applied consistently and equitably, aligning with societal norms and legal principles.