https://www.scconline.com/blog/post/2018/04/25/object-of-bail-is-to-secure-attendance-of-the-accused-in-trial/
Object of bail is to secure attendance of the accused in trial