According to the definition of UNESCO and international practices including China, education is divided into four stages: preschool education, primary education, secondary education and higher education.
Junior high school is the abbreviation of junior secondary education, and senior high school is the abbreviation of senior secondary education. Pre-school education and primary education are not graded, secondary education is divided into primary and advanced education, and higher education is more: junior college, undergraduate, master and doctor (many people even say "postdoctoral", which does not belong to the level of academic education).
Of course, there are also some sayings on the Internet that primary education includes junior high school. That's because our country has brought junior high school into the stage of compulsory education, and it has also brought junior high school into the seventh and eighth grades of compulsory education, which has led to many wrong impressions of confusing junior high school with primary school. Actually, it's not. Junior high school or secondary education.