Keeping criminals locked in jail keeps them from committing more crimes, by preventing them from roaming free in society at…