JavaScript is scripting language that runs on web browser. It is used for client side validation and creation of UI interface for the web application.