ELI5: Explain Like I'm 5

javascript event loop

The Javascript event loop is like a circle. It keeps going around and around, continually checking to see if there is any work that needs to be done. Every time the event loop goes around, it checks to see if any new instructions have been given to the computer, like what buttons you pressed or what websites you visited. If it finds something it needs to do, it will run the instructions. It will keep doing this until there is nothing left to do.