Legal Process for the Intended Parents

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