When an event occurs on a DOM element, that event does not entirely occur on that just one element.
Capturing Phase – the event starts from window then goes down to every element until it reaches the target element. Target Phase – the event has reached the target element. Bubbling Phase – the event bubbles up from the target element then goes up every element until it reaches the window. The addEventListener method has a third optional parameter useCapture with a default value of false the event will occur in the Bubbling phase if true the event will occur in the Capturing Phase.