Has anyone wondered the mechanics of the operating system, from the boot sector, right to the very gui?

could any one help me understand how this works all together, and send me in some direction of where to find out more?