How is upper primary education different from secondary education?

Upper primary education is distinct from secondary education in terms of the curriculum and age group of students. Upper primary education typically focuses on a broader and foundational understanding of subjects, while secondary education delves deeper into specific subjects and offers more specialized streams or subject choices.