<human>:  How does the theory of deterrence work?
<bot>: Deterrence is a theory that says that if the cost of committing a crime is greater than the benefit, then people will not commit crimes. For example, if you are caught stealing a car, you will probably be punished by the police. This punishment will be a deterrent to other people who might want to steal cars.