What is socialization?

A the course of action taken by officials when laws are broken
B. the process by which people learn the values and beliefs that influence how they live
C. the education of young people in school and college facilities
D. the use of church schools to teach children how to read, write, and do math