Runs directly in the user's web browser, enabling features like form validation, interactive buttons, animations, and dynamic content updates.
Responds to user actions, such as clicks, keypresses, or mouse movements.
Allows developers to dynamically update and manipulate the HTML document, enabling real-time content changes without reloading the page.