An operating system (OS) is the software that manages a computer's hardware and software resources, providing a platform for applications to run. It acts as a bridge between the user and the hardware, enabling interaction and resource management. Common examples include Microsoft Windows, macOS, and Linux.