How are processes scheduled?

First, we understand that processes are stored in: What is Process Control Block and Process Table

Next, we have a series of queues . These queues will have a head and tail, which points to a doubly linked list of Process control blocks (PCB)

To store processes,

We have the following queues:

As well as on disk.

How do we deal with many incoming processes?

Then we extract processes from these using short-term / CPU scheduler as well as using a long term scheduler

Sometimes we also have a medium term scheduler