>>10902578Bail exists with the idea that it is a compulsion to go to court.
So, before your trial you will be in holding so you don't escape. You are offered 2 million in bail. If you give the court 2 million dollars, they will let you leave holding with the condition that if you do not show up for your court date the court keeps the 2 million. Otherwise, once the court date arrives, if you have posted bail it is returned to you. Often people will have a bail bond, which is a loan where a bondsman will post bail for you - with the understanding that you will go to court, return your bond, and pay a fee for that loan.