An operating system (OS) is software that manages computer hardware and provides services for computer programs. It serves as an intermediary between users and the computer's hardware, facilitating communication and coordination. Common examples include Windows, macOS, Linux, and Android. The OS handles tasks like memory management, file systems, security, and device communication, allowing users to interact with their devices in a user-friendly manner.