You can use a prison to punish people who break the law.