Diversification is spreading money across investments that do not all move together, so one bad outcome does not decide the whole balance. Owning twenty technology stocks is less diversified than it looks if they all fall when that industry falls. Owning a broad stock fund and a broad bond fund is the usual simple version.
What it does not do
Diversification reduces the damage from one company or one sector. It does not prevent a loss. In a sharp stock decline, most stock funds fall together. Bonds and cash are in the mix because they have often behaved differently, not because they are guaranteed to rise when stocks fall.
A single index fund can hold hundreds or thousands of companies and still be one asset class. Index funds explained is the practical starting point.