Not understanding line of code

nodetail=head;
what is the significance and meaning of this line and why we are storing the value of “head” in "node
tail"

also what is the meaning and significance of --tail->next

please help i am unable to understand these line of codes.