Why we used (.) like that l.head or l.tail

why we used (.) like that l.head or l.tail

Hello @gk1293123 like we are checking on the left Subtree and the right subtree so for that to access their head and tail we can do in this way.
That’s is why ‘.’ IS USED.