Pergunta de entrevista da empresa Sumsub

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