Demand refers to the quantity of a good or service that consumers are willing and able to purchase at various price levels, illustrating the relationship between price and quantity. Understanding demand is crucial in analyzing how changes in consumer preferences, income, and market conditions affect purchasing behavior. Demand plays a key role in determining prices and quantities sold in both competitive and imperfectly competitive markets.