A sales and purchase agreement (SPA) is a legal contract that obligates a buyer to buy and a seller to sell a product or service. SPAs are found in all types of businesses but are most often associated with real estate deals as a way of finalizing the interests of both parties before closing the deal.