Event bubbling and capturing are two ways of event propagation in the HTML DOM API, when an event occurs in an element inside another element, and both elements have registered a handle for that event. The event propagation mode determines in which order the elements receive the event.
Capturing phase – the event goes down to the element.
Bubbling phase – the event bubbles up from the element
.
See More Here : https://javascript.info/bubbling-and-capturing