Forecasting uses historical data to predict future trends in order to help companies plan production, inventory, personnel, and facilities. It is based on demand for goods and services compared to production costs. Forecasting helps formulate strategies, project cash flows and capital requirements, allocate budgets, and anticipate hiring needs. There are various forecasting methods including qualitative methods like expert judgment and quantitative methods like exponential smoothing and linear regression. Capacity planning establishes the maximum output rate of a facility and involves allocating capital for equipment and planning workforce and inventory levels. Factors like demand forecasts, resources, product nature, and maintenance affect capacity planning.