System calls are the OS API that allows a process to communicate with the operating system.
In multiprogramming environment, the OS decides which process gets the processor when and for how much time. This function is called process scheduling.