An exception is an event that interrupts the normal flow of a program. Python raises exceptions when a runtime error occurs, such as division by zero or accessing an undefined variable. These exceptions can be caught and handled to prevent the program from crashing.