Gender socialization occurs through such diverse means as parental attitudes, schools, how peers interact with each other, and mass media. Sometimes gender roles lead to inequality; for example, women's social roles were once more restricted regarding politics, and United States law prohibited women from voting.