Question: what is the main function of kernel?
Answer: A computer kernel interfaces between the three major computer hardware components, providing services between the application/user interface and the CPU, memory and other hardware I/O devices. The kernel provides and manages computer resources, allowing other programs to run and use these resources.