PragetX Technologies interview question

What is the event loop in JavaScript?