After being arrested, you may be taken to jail. In this situation, the court may set a specific amount of bail money that you can pay to leave jail. In exchange, the defendant promises to appear in court.
The bond money is forfeited if you don’t show up for court. And you may face additional consequences, such as a fine or jail time.
If you post bail, you can get your bail money returned after your case is over if you attend your court dates and fulfill all obligations.