Safety stock is an additional quantity of inventory held to mitigate the risk of stockouts caused by uncertainties in supply and demand. It acts as a buffer to ensure that a company can continue to operate smoothly despite fluctuations in demand or delays in supply chain processes.