Device drivers take on a special role in the Linux Kernel. Drivers are the pieces of software that allow hardware to communicate with the operating system. Unlike other popular operating systems, Linux treats devices in a special way. Linux presents the device as files. This might sound weird to those who are new to Linux. But it will make perfect sense once you gain more experience with writing code that interfaces with devices.
The Linux Kernel Structure
The Linux Kernel is monolithic. The whole operating system is a single piece of software that offers services through one interface called system calls.
Device Drivers run as part of the Kernel. Linux Device Drivers can be loaded to the Kernel as modules during runtime.