CleverTap interview question

How nodejs works on single thread?