In theory.. but school most often fails to provide a safe and quality social environment. In fact, often achieves the opposite. Putting children into a class of 30 kids all the same age does not even adequately "socialise" or prepare them for life in the real world.