Continental Interview Question

How does interrupt routines work in case of microcontrollers