Context switching happens when the mind switches focus to another task that is dissimilar from the previous one. Similarly, in computers, a single CPU core (assume a logical core with 1 active thread) emulates concurrency by constantly context-switching among different processes.