Currently in Ukraine, school in its prime meaning is designated for children and teenagers who attend it between ages 6 through 17.
The institution is called Middle School of General Education (ZOSh) or simply Middle School and usually combines primary and secondary levels of education.