Systematic vs Unsystematic Risk

CAPM draws a fundamental distinction between two types of risk. Systematic risk is the component of an asset's volatility that is correlated with the market — the risk that cannot be removed by adding more assets to a portfolio, because it affects all assets simultaneously. Interest rate changes, recessions, pandemics, and geopolitical shocks are sources of systematic risk.
Unsystematic risk (also called idiosyncratic or specific risk) is the remaining component — the volatility driven by factors specific to the company or sector. A drug trial failure, a management scandal, a supply chain disruption affecting one firm: these are idiosyncratic. Crucially, as you add more assets to a portfolio, unsystematic risks begin to cancel each other out. A portfolio of 20–30 randomly selected stocks typically eliminates most unsystematic risk.
CAPM's radical implication: because unsystematic risk can be diversified away at negligible cost, rational investors holding diversified portfolios will not require compensation for bearing it. The expected return premium for an asset is determined entirely by its beta — its contribution to the portfolio's systematic risk.