Nagarro interview question

Multithreading how it works ?