What do you mean by law of demand?

Law of demandexamines how customers’ buying habits change when prices increase. Specifically, the theory posits that all other things being equal, when prices of a good increase, the demand for that good falls. Hence if there are alternatives for a same product people will prefer products that are cheap and affordable.