Family plays a vital role in gender socialization, as parents and caregivers often reinforce gender roles and expectations.