An operating system is a piece of software that runs on a given hardware platform and allows supporting programs to be run on it. Linux, UNIX (of which there are several flavours), Microsoft's Windows and Apple's OSX are some common modern-days examples of operating systems.