Continental interview question

How does interrupt routines work in case of microcontrollers