In Japan, students spend:
6 years in elementary schools
3 years in junior high schools, and,
3 years in high schools
then additionally 2-3 years of junior colleges or 4 years of college
So, for U.S.A and Australian readers, they're equivalent to
Grade 1 to 6 = Elementary School
Grade 7 to 9 = Junior High School
Grade 10 to 12 = High School
In Japan, they're known as
ELMN 1 to 6 = Elementary School
JHS 1 to 3 = Junior High School
HS 1 to 3 = High School
So, if you want to refer to ELMN and JHS students, use 生徒 (seito)
And, for HS and College / University students, use 学生 (gakusei)