A hardware interrupt is a signal sent to the processor by external hardware devices, prompting it to temporarily halt its current execution to address the interrupt. This mechanism allows real-time processing and prioritization of critical tasks, ensuring efficient and responsive system performance.