An operating system is the first software loaded when a computer starts up and coordinates hardware and other software. It provides common core services like disk access, memory management, task scheduling, and user interfacing. The main functions of an operating system include process management, memory management, file management, device management, security management, and providing a user interface.