It performs a context switch:
This multitasking mechanism lets the OS manage hardware events without halting the system. The CPU isn't "paused" in a frozen sense—it's redirected to urgent work, then returned to where it left off (or to a higher-priority task). The interrupt is the hardware's way of saying "I need attention now"; the context switch is the OS's way of saying "got it, back in a microsecond."