An operating system is the software that supports a computer’s basic functions. A computer must have an operating system to run programs and perform basic tasks such as recognising keyboard inputs, keeping track of files and controlling devices such as printers.