Safety stock is the extra inventory kept on hand to prevent stockouts and ensure that customer demand is met during unforeseen fluctuations in supply or demand. It acts as a buffer against uncertainties in the supply chain, allowing businesses to maintain smooth operations and customer satisfaction even when unexpected events occur, such as delays in shipment or sudden spikes in demand.