Middle childhood, from ages 6 to 12, is characterized by efforts to develop competence in meeting challenges from parents, peers, school and the modern world. Children's views of themselves become more complex, comprising personal and academic aspects. Their self-esteem develops in various spheres and may improve overall, though it sometimes declines due to school transitions or other factors. Friendships provide social and emotional support during this period.