When a particular event occurs, it triggers event listeners at different layers in a particular order. For example, clicking a child button will propagate the event to all handlers that capture a mouse click. Events can propagate in two modes—bubbling and capturing.