An operating system manages various hardware and software resources, including memory (RAM), processing power (CPU), and storage (files on disk).