How agents of socialization shape the perception of males and females in the society