How does the filing of a bail petition work in the Indian legal system

Explore the process and significance of filing a bail petition in the Indian judiciary system.