Why does a device node need to be made in udev when you plug in a device into your computer?
Why does a device node need to exist?
Why does a device node need to be made in udev when you plug in a device into your computer?
Why does a device node need to exist?
Why does a device node need to be made in udev
You got that backwards: it's udev that creates that device node.
And whether and which kind of device nodes are created depends on the kind of hardware you plug in: It makes a difference whether you plug in a storage block device, a GPU or a network card.
Why does a device node need to exist?
Because operations on device nodes are the way that software interacts with hardware. Your question is identical to the question of
how does a program on Linux interact with hardware?
and the answer is:
It depends, but it usually opens the device node and performs read, write or ioctl on it, or it uses the node's properties to initiate other kernel operations (like mount does with fsopen).