Use "that" if removing the clause destroys the core identity of the noun; use ", which" if the clause provides bonus information.
In American English, the distinction is strictly enforced by Chicago and APA. British English allows "which" for both, though American style requires "that" for restrictive clauses.
"The car that won the endurance race broke speed records."
Essential clause identifying exactly which car broke records; no commas.
"My vintage roadster, which I purchased in Italy, broke speed records."
Non-essential extra background detail enclosed in commas.
Specifying which report was faulty requires restrictive "that".
Academic publications, scientific research, legal drafting, and technical communications.
Commas separate clause boundaries, set off parenthetical non-essential details, and prevent misreading.
Who serves as a grammatical subject doing the action; Whom serves as a grammatical object receiving the action.