What is the difference between bail and surety?

The difference between bail and surety bonds is that bail involving cash bonds only require the involvement of two parties—the defendant and the court. Surety bonds however, require the involvement of three parties in the bailing process—the court, the defendant and the bail agent.