A trial is going to result in a winner and a loser, and a judge is going to decide which is which. In Mediation, however, you have the opportunity to sit down with the other side and hammer out a deal. Then once the deal is made, it is made, and you have settled the issue. It gives both sides more control over the outcome.
There are a number of civil law matters where Mediation can be used, such as divorce. Seek competent legal counsel to determine if Mediation is an option in your case, and if it would be beneficial to you.