An operating system has many jobs, but three core responsibilities are:

  1. Process management – It creates, schedules, and terminates programs (processes), deciding which one gets CPU time so multiple apps can run “at once” without the system freezing.
  1. Memory management – It tracks which parts of RAM are in use, allocates memory to programs, and protects each program’s memory space so they do not overwrite each other.
  1. File and device management – It organizes data into files and directories, controls access to them, and manages communication with hardware devices like disks, printers, and network cards.