A civil dispute between two parties can be resolved either by settling it out of court or filing a lawsuit. If both parties reach an agreement on the…