The process by which an individual learns gender roles and expectations through cultural and societal influences.