The process through which individuals learn and internalize societal expectations and norms associated with their gender.