When a lawyer is paid on a contingent basis, they share that risk with you. They don't pay him unless you do. In addition, they pay you more if they pay you more. This gives you more incentive to work harder and achieve a favorable outcome for your case.
A client pays contingent fees to an attorney only if the lawyer successfully handles a case. Attorneys and clients use this agreement only in cases where money is most often claimed in personal injury or workers' compensation cases. With a mixed-schedule contingent setup, your lawyer will likely also get a percentage of the recovery in addition to the attorney's hourly rate. First, a contingency fee agreement will sometimes result in a lawyer being paid more money than if they paid the lawyer by the hour.
The most important way a contingency fee agreement is beneficial to an attorney is that the lawyer is rewarded for recovering the highest possible level of compensation on behalf of the client.