What's the difference between 'pupil' and 'student'?

I always thought pupils are children who are in primary school. Then they become students when at secondary school and at a tertiary institution.

What's your view?
7 answers 7