Could someone please provide a detailed explanation of the role and responsibilities of a land surveyor?

My neighbor hired a land surveyor because we disagree on the property line. What exactly does a land surveyor do?