What is a batch file?

A batch file is a file containing a series of instructions to be carried out by the operating system.