A recession doesn't affect every sector the same way — the difference between a sector that holds relatively steady and one that craters often comes down to a simple underlying question: can people easily delay or cut back on buying this? Sectors selling things people generally can't easily delay — basic groceries (Consumer Staples), necessary medical care and medication (Health Care), electricity and water (Utilities) — have historically tended to see more stable demand even when household budgets tighten broadly. Cyclical sectors like Consumer Discretionary and certain Industrials segments, whose revenue depends heavily on spending that's easier to cut or delay (new cars, vacations, home renovations, business equipment upgrades), have historically tended to see sharper declines.
It's important to be precise about what "defensive" actually means here: historically relatively more resilient, not completely immune. Defensive sectors can still decline during a recession — typically just less severely, on average, than more cyclical sectors — and the degree of that relative resilience isn't identical across every single historical recession.
Correct moves you up, wrong moves you down — reach 100 to master this lesson.