A settlement, as well as dealing with the dispute between the parties is a contract between those parties, and is one possible (and common) result when parties sue (or contemplate so doing) each other in civil proceedings.