An operating system is a peace treaty between processes that would otherwise eat each other. Scheduling, isolation, permissions — every kernel decision is a choice about who gets to do what to whom, enforced at gunpoint by the hardware.
This is not a metaphor. The OS is the lowest layer at which a society of programs is possible. Change the kernel and you change the society.
Read your OS the way you would read a constitution. The architecture is the politics.