According to Erik Erikson, the main task of adolescents is to solve the crisis of identity versus role confusion

According to Erik Erikson, the main task of adolescents is to solve the crisis of identity versus role confusion. Research has shown that a stable and strong sense of identity is associated with better mental health of adolescents.