Which scheduler decides which device must be allotted to which process?

The I/O Scheduler is responsible for determining the order in which I/O operations are dispatched to I/O devices such as disks, network interfaces, or peripherals. It decides which device must be allotted to which process, managing the scheduling of I/O operations to optimize system performance, reduce latency, and improve overall throughput.