process context and interrupt context
Process context is its current state. We need to save the context of the current running process so it can be resumed after the interrupt is handled. Process context is basically its current state (what is in its registers). e.g. esp, ss, eip, cs, and more. We need to save the instruction pointer (EIP) and the CS (Code Segment) so that after the interrupt is handled we can continue running