Includes:
OS
- OS is software to abstract(simplify) and arbitrate(control) HW system
- like toy shop manager - resource management, policy, mitigate

Kernel



Process
- Process is instance of executing program
- like an order of toys


PCB and context switch
- PCB has state of execution(program counter, stack), tmp holding area (mm), might require some HW (io device)
- process control block (PCB) includes:
- program counter (pc) - current step of the process (binary)
- stack pointer
- Context switch: when 2 or more process switch for CPU (ex: p1 switch to p2), it need to record the stopping point for current process(p1) and also upload the stopping point for incoming process(p2)
Scheduler

IPC
- Inter Process Communication