The nature and purpose of education