A surety is a person who appears in court and promises that the accused will come to court for his or her trial if released on bail. He or she accepts the responsibility to pay a fixed sum of money to the government if the accused does not appear in court when needed.