Why do we need consumer protection laws in an economic system of supply and demand?

 Shouldn’t consumer demand and manufacturer competition dictate the quality of the product? 

Please expand on your response.