Hej! In France we say "élève" as long as you are in "l'école" and in "le collège et le lycée", so from three to eighteen years old. After that, you go, for example to university and are called " un étudiant "or "une étudiante". :-)
I suppose, you kind of use them in the same situations, although a teacher at university could just as easily refer to their students as "mes élèves", the students themselves wouldn't refer to themselves that way.