Note: this is the type of study required to be basically conversant on the topic. You would then need to also read books like:
Windows Internals: System architecture, processes, threads, memory management, and more, Part 1 (Developer Reference) https://a.co/d/4ZxznL5
Linux Kernel Programming: A comprehensive guide to kernel internals, writing kernel modules, and kernel synchronization https://a.co/d/8BwJBjt
et al. to really have anything approaching a detailed understanding of how these systems work.