How do bail bonds work in California?

U.S. citizens have a right against excessive bail per the 8th Amendment. Bail is set when police officers are ready to release a person from custody before his or her court date.