Socialization is an ongoing process that occurs throughout one's life. Primary socialization occurs during childhood through interactions with family and influences a person's basic values and behaviors. Secondary socialization continues into adulthood through school, work, and other social institutions and leads to the adoption of social roles. A lack of socialization can negatively impact cognitive development in children and adults as social interactions are important for learning and maintaining cognitive function. Socialization is never complete as people encounter new social groups and contexts throughout their lives that require ongoing learning and adjustment.