Supply and demand are fundamental economic principles determining the price and quantity of goods and services. Understanding their interplay is…