What is the difference between surety bond and warranty?

Warranty is the obligation that will be covered by the Surety Bond.