When an interrupt happens in FreeRTOS, the system checks its priority. If the priority is less than or equal to configMAX_SYSCALL_INTERRUPT_PRIORITY, the interrupt service routine (ISR) can safely call FreeRTOS API functions like giving semaphores or notifying tasks. This is shown in the execution table where priority 5 allows API calls. If the priority is higher, like 12, the ISR must not call FreeRTOS API functions to avoid system crashes or unpredictable behavior. The variable tracker shows how the interrupt priority and the flag xHigherPriorityTaskWoken change during execution. The key moments explain why these restrictions exist and how FreeRTOS manages task switching after interrupts. The visual quiz tests understanding of priority checks and API call permissions. Remember, always keep ISR priorities and FreeRTOS API calls aligned to keep your system stable.