Mediation is a form of dispute resolution (ADR) that is actively encouraged and often mandatory (by law), used as a way of settling disputes out of court.