Pregunta de entrevista de Sumsub

How JS event loop works? What's micro and macro tasks?