In this sentence:
He is going to school.
is the word "school" an object or complement?
My confusion arises from the dual observations that: (a) it apparently can not be object, because the verb "go" is intransitive, and (b) it is not an complement either because it doesn't modify anything.
So what role does the word "school" play in this sentence?