The Justice 101 Legal Terms Glossary, a resource from the Offices of the United States Attorneys, provides the following definition for "bail":
Security given for the release of a criminal defendant or witness from legal custody (usually in the form of money) to secure his/her appearance on the day and time appointed.