An operating system organizes and controls hardware and software resources to allow a device to function in a predictable way. Common operating systems include Windows, Macintosh, and UNIX. An operating system manages resources like the processor and memory, provides a consistent way for applications to interact with hardware, and performs functions like running processes and managing user interfaces.