An operating system (OS) is a fundamental software that manages computer hardware and software resources and provides common services for computer programs. It acts as an intermediary between computer hardware and user applications. In contrast, other software applications, such as productivity, entertainment, or utility software, are designed to perform specific user tasks, often on top of the operating system.