A collective good (public good) is non‑rival (one's use doesn't reduce availability) and non‑excludable (hard to prevent non‑payers from benefiting).
Private firms lack incentive to provide collective goods (can't charge easily), so governments supply them, funded by taxes—spreading cost across society for universal access.
Collective goods are essential for a functioning society.