An operating system (OS) is a software that manages computer hardware and provides common services for computer programs. It serves as an intermediary between users and the computer hardware, facilitating the execution of software applications. Operating systems are essential for the functionality and usability of modern computing devices.