The analysis of supply and demand is the basic of economics.
Demand is a function of price. Generally, quantity of a product or service a buyer willing to buy drops when its price increases. This is illustrated by the market demand curve, as shown below:
Supply, as a function of price, is just the opposite. As price increases, the amount of a good or service that will be produced also increases. This is illustrated by the market supply curve: