udev is a device manager inside the Linux kernel that manages the hardware device files.
udev adopted an event-driven architecture that responds to kernel events, such as the addition or removal of hardware devices. When a device is connected or disconnected, the kernel generates an event, which udev processes to manage the corresponding device node.
By utilizing udev, we can support input device hot-plugging and removal.
Reference:
Check also #3