A script is a piece of program code that is used to make our website function properly and interactively.