Context:The older students were bullying the younger ones, so we punished *them* .

Is "them" the same as "The older students"?
yes