how does group process in gangs lead to criminal behavior

how does group process in gangs lead to criminal behavior