Michigan and Federal criminal and Constitutional law provides that when a person is arrested and charged with a crime, they have the opportunity to seek release from custody by posting bail or bond. Your bond and any conditions of your pretrial release will be considered when you are first brought to court for your arraignment.
By posting bail, you provide a monetary guarantee that you will attend all future court hearings. If you fail to appear, you risk forfeiting the bail amount.
While granting temporary release, the court must also consider public safety. The court does this by imposing conditions on your pretrial release. The conditions of bond aim to minimize potential risks to the community while you are at large rather than in jail.