Event Loop in JavaScript

I am an undergrad in Computer Science and Engineering. I love building web apps Currently I'm learning React js. Some Programming languages I am familiar with are Java, C++, JavaScript and Python. I also have basic to Intermediate understanding of Data Structures and Algorithms.
Studied the concepts of Event loop in JavaScript, how the stack call the browser and task queue work and how the setTimeout() method gets called after the time assigned to it and in case of 0 time condition it is used to defer something until the stack gets empty and then call the method.

