An event is a signal emitted by the browser during an action: click, input, form submission, key press, loading. You react to it by registering a function with addEventListener(type, handler). removeEventListener removes the listener, using the same function reference.
Example
bouton.addEventListener('click', () => alert('Click'))