For primary and secondary schools, some schools do have buses to transport their students from certain areas to the school, and of course. For day school students though, for the most part though, transportation to and from school is left to the family.
Some parents drop their kids off at school on their way to work (even if it is in the opposite direction, some parents are wonderful, some kids walk if it is close enough, some take the bus, some get rides with others parents, etc. etc
For higher education, students can live on campus in the dormitories, or provide their own transportation to school.