A context switch is the work of the kernel to stop one process and start another: save the registers of the first, choose the second, restore its registers and its memory map. While it happens, no process does useful work.
Computer Science · Glosarium