JavaScript is a client-side scripting language that can be inserted into HTML pages and is understood by web browsers.