Bail is a way to secure the temporary release of someone waiting for their court hearing. It guarantees that the person will return for their trial. However, bail for illegal immigrants works differently than for other cases. Immigration laws follow a separate legal process from criminal laws.