Storrsoft Interview Question

How does JS event loop works?