A legal contract that sets out the final terms for the sale and purchase of shares in a company. It typically covers the price, payment structure, warranties, indemnities, completion conditions, and obligations of both buyer and seller.