The correct answer is criminology.
Criminology is a branch of sociology, meaning that it deals with humans and societies in general, but particularly regarding crime. It studies why crime actually happens and what could be done to avoid it, as well as what should be done with offenders.