An interrupt is a signal sent to the processor by hardware or software indicating an event that needs immediate attention.