As per my knowledge:
A transitive verb takes a direct object.
Some examples:
I watched a movie.
He played cricket.
An intransitive verb does not take a direct object.
Some examples:
I watched.
He goes to school.
My question is that:
Why this sentence(He goes to school) is an example of intransitive verbs? Because school is a direct object of the subject(he) here.