"A bond is a written promise to pay money to do some act if certain circumstances occur or a certain time elapses." . . . .