What function does a prison serve in the criminal justice system?
1
To collect damages from the criminal victim
2
To keep criminals apart from society
3
To rehabilitate convicts and stop them from committing crimes in the future
4
To provide people free housing