Pergunta de entrevista da empresa HR Adda

how does the event loop work? what do you mean by a single thread?