Bail is where an accused person is released from prison before their trial but that person is required to come to court on the days when their case will be heard.