I’d love to know what the smallest OS is that can boot on an old MacBook, get to network (wired or wireless), and includes a basic browser (tui or gui) even if it doesn’t drive all the onboard hardware. That feels like it would be an excellent learning platform.
DOS just isn't much of an operating system, it's more like a bunch of helper functions preloaded into RAM, and you're free to do whatever you want with or without them.