The process by which individuals learn and internalize societal expectations and norms related to gender.