If you want to learn more about how the software that drives your system works, Linux is a good choice. The source code to the kernel and other utilities is available for anyone to look at. This is why university computer science departments have educated their students on Unix-like operating systems for decades.