An operating system (OS) is a program that manages a computer's hardware and software, and allows users to interact with the computer. It's the most important software on a computer.
While most computers come with an operating system pre-installed, it's possible to upgrade or change it.