Deposit of guarantee or surety

Is wrong, we often hear about bail bond to pay for a rental.