script

A script is a program or sequence of instructions.

a simple explanation