Which technique is using for making nodes?

Hi all,

I wish to know when i am creating, for example, 2 taps and then 2 nodes, How these two nodes are making? Does it use namespace for making them? Or there is any other technique? And which important functions are invoking in order to make taps and nodes?
Many thanks in advance.
With warm regards,
Samira