Legal Process for the Surrogate

Why is a Surrogate Agreement Necessary?
The role of the attorney for the Surrogate: