Jails and prisons were developed to house criminals and fugitives of the law so that they did not run rampant out in the streets.
hope this helps
6.0m questions
7.9m answers