In computer programming, a script is a program or sequence of instructions that is interpreted or carried out by another program rather than by the computer processor (as a compiled program is).
Script is set of instructions or say it is a program which perform a variety of different functions that runs in the background of web pages.like Javascript is very popular scripting language.