In an operating system, an interrupt is a signal that indicates an event requiring immediate attention. Interrupts can come from various sources, such as hardware devices or software exceptions. When an interrupt occurs, the operating system suspends the current execution, saves its state, and transfers control to a specific interrupt handler to handle the event.