An example of that would be  if you bought a new pocket calculator and then find it won't work then the legal position is the shop have broken their contract with you, because they've sold you a pocket calculator which is not of merchantable quality, and you should be entitled to money back in a case like that.