1.6 System Calls
A system call is a request made by a program to the operating system to perform a specific task that the program cannot do directly. They act as a bridge between user programs and the kernel, allowing applications to access hardware and core OS functions safely. Without system calls, programs that directly control hardware can be unsafe and complex.
Example: When you save a file in a text editor, the program uses a system call to tell the operating system to write the data to the storage drive(like a Hard drive).