The Linux kernel reports device changes to user space through uevents. On many current distributions, systemd-udevd processes those events using udev rules and a device database. Together with kernel-populated devtmpfs, this produces the ownership, permissions, properties, and symbolic links applications see around /dev.
Devices · Lesson 5
udev
Learn how udev processes kernel device events to apply policy, permissions, and persistent links.