When a market is not in equilibrium, it experiences either a surplus or a shortage. In the case of a surplus, suppliers have more products than consumers are willing to buy at the current price, leading to potential price reductions. Conversely, a shortage occurs when consumers demand more than what is supplied, often driving prices up. These imbalances prompt adjustments in price and quantity, pushing the market back towards equilibrium.