A Massachusetts purchase agreement is a legal document that secures a transaction for real estate between a buyer and a seller. The buyer writes the agreement and presents their offer to the seller.