In commercial and consumer transactions, a warranty is an obligation that an article or service that is sold has the quality the buyer can reasonably expect from the seller.
That often means that there must be a remedy. That means repair or replacement if the article or service is not as good as the warranty says. It is a breach of the warranty when the promise is broken, i.e., a product is defective or not as good as should be expected by a reasonable buyer.