GE interview question

Explain RTOS internal working ?