Those that select a teaching curriculum in the university spend 1-2 years interning in schools during their studies. Most people end up taking up teaching curricula just because it is a sure way of getting employment especially if one is studying a field in which employment is scarce outside of academia, say, philosophy.
I myself am studying computer science and I plan to enroll in a teaching curriculum should life in academia turn out to be boring, mostly because a) teaching is fun b) it pays relatively well c) a three month paid vacation from June to the end of August is a plus and d) it is a respected profession.