It allows you to add any kind of interactive elements to a web page thereby giving you full control of how you want an element to behave. For example, a button when clicked can be made to turn on an animation, take the user to another page, change color and text, and so on.
Handles Date and Time
It not only makes a web page interactive, but also gives users the freedom to use certain elements such as expand a page in any direction or change the font of a text. It allows developers unrestricted freedom to create lively objects and elements on a page.