Safety stock is just a hedge against running out of inventory. It is an additional amount to take care of unexpected events, such as the demand being higher than forecasted and/or lead times being longer than expected. It is often called buffer stock. The lower red horizontal line on the graph indicates the safety stock level.