A process whereby the prosecutor and defense attorney negotiate a mutually satisfactory disposition of the case. The court and the defendant must approve of any settlements.