Walking and biking and scootering to school is better for the child, better for the family, and better for the environment.
Physical activity in general is vital for preventing obesity.
https://grist.org/cities/london-fining-polluting-cars-more-active-kids/