Why is the address needed to be returned?

in this why are we returning the address of the node in the insert function and not just updating the address?

hi
u ca do the both
pass by reference u dont need to return the address