Legal Process for the Surrogate Mother

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