By and large, detention facilities are built to protect the public and not to treat mental health and related family issues.

Boys are usually detained as a response to public safety issues, whereas girls are more often detained because of problems in the home.