PeK Automotive interview question

How do interrupts work in embedded systems?