A settlement agreement is a formal contract that is usually confidential in which an employee waives their employment rights on the termination of employment.  The terms of the agreement usually include a payment to the employee who has to take independent legal advice about the effect and terms of the agreement.