Demand forecasting predicts how much of a product a business will need, by item, location and period. A model learns from past sales and adds signals the sales history cannot show on its own: holidays, weather, promotions, prices and local events. The output is a quantity, often with a range around it, that a buyer or a replenishment system acts on.
It matters most where stock spoils or ties up cash. A forecast that runs high leaves fresh food to be written off. One that runs low leaves empty shelves and lost sales. Most of the work goes into clean, product-level data at the right grain and a buying process that uses the forecast instead of overriding it from habit.
A useful rule: judge a forecast by the decision it improves, measured in spoilage, stock-outs or working capital, rather than by its accuracy score alone. A forecast can be accurate on average and still be wrong on the fast-moving perishables that carry the cost.