MS-DOS is partitioned into several layers that serve to isolate the kernel logic of the operating system, and the user's perception of the system, from the hardware it is running on. These layers are
The BIOS (Basic Input/Output System)
The DOS kernel
The command processor (shell)
We'll discuss the functions of each of these layers separately.