How surety bonds work (and why Texas requires one)

A plain-English explainer of the three parties and why the premium is not refundable.