Q Agency interview question

How does nodeJs works, questions about multithreading