A bail application is a request made to a court for an individual to be released from custody while they await their trial. The purpose of bail is to ensure that the accused person will appear in court when required, and it can take several forms such as cash deposit, surety bond or personal recognizance. A judge considers various factors before granting or denying a bail application including the severity of the crime, the defendant's criminal history, flight risk, and public safety concerns.