Simence plc programming

Hello, i want to know how interrupts work in s7 314 cpu how it divide processing time and what happen to beground process.