In China, the education is divided into three categories: basic education, higher education, and adult education. By law, each child must have nine years of compulsory education from primary school (six years) to junior secondary education (three years).