Qualcomm Interview Question

How do interrupts work in a microprocessor