AutoFi Interview Question

What is an event loop in JavaScript?