Interrupts enable context switching. In a multi-processor computer, interrupts give the impression that the computer is multitasking. In actuality, what happens is a lot of processes each with assigned priority levels are swapped in and out of memory to achieve the multitasking effect. Interrupts are signals that tell the CPU when to stop it's current process to attend to a higher priority one.
Leave a comment below if you found this explanation helpful.