Gemini Solutions interview question

what is event loop, explain its functioning