HCLTech Interview Question

explain how event loop works