If it weren't for that volatility, investors might put all their wealth into the stock market where they can generate the largest returns. But it's possible for a stock portfolio to temporarily lose 20% or 30% of its value very quickly.
You can protect yourself from that volatility by diversifying your portfolio — or holding different asset classes alongside your equities. Cash, fixed income, and alternative assets aren't directly affected by all the same factors that influence the stock market.
In investor-speak, those other asset classes have a low or negative correlation to equities. In practical terms, if the stock market crashes, your cash balance won't change, nor will the interest payments you receive from your fixed-income securities.