“The human heart that contains four valves weighs about eleven ounces” looks like a harmless sentence, but it quietly suggests some human hearts have a different number of valves.
Swap one word and add two commas, and the problem disappears: “The human heart, which contains four valves, weighs approximately eleven ounces.” Same facts, same length, very different meaning.
That and which do two different jobs
Both words introduce a clause, a small group of words that adds detail about a noun. The question is whether that detail is essential or just extra.
That introduces information you need to identify what you are talking about. Grammar guides call this a restrictive clause. It never takes commas.
Which introduces information you could delete without losing the main point. That is a nonrestrictive clause, and it always sits between commas.
So when you write “the heart that contains four valves,” you are picking one heart out of a group, as if other hearts had more or fewer. Since every human heart has four valves, that detail does not single anything out. It belongs in a which clause, set off by commas, as a bonus fact.
How one word changes the story
The Purdue OWL uses two simple examples that make the difference easy to see.
“Brad’s sweater that has fancy elbow pads was a birthday gift from his sister.” Here, that tells you Brad owns several sweaters, and this is the one with the elbow pads. The clause is doing identification work.
“Stacy’s truck, which is painted red, has a dent in the back bumper.” Here, Stacy has one truck. The color is just a passing detail, so it gets which and a pair of commas.
The same logic shows up in everyday work writing:
- “The report that I sent on Monday has a typo.” You sent several reports, and the Monday one is the problem.
- “The report, which I sent on Monday, has a typo.” There is only one report, and Monday is just extra context.
Your reader cannot ask you which version you meant. The word and the commas have to tell them.
Why the commas matter as much as the word
Plenty of punctuation rules are pure convention. This one is different, because the commas carry real meaning.
The most common slip is using which without commas, as in “The laptop which I bought last year keeps freezing.” If the detail is essential, switch to that. If it is extra, add the commas. Leaving it halfway sends a mixed signal.
The other trap is treating that and which as a style choice, as if which simply sounds more formal. It does not. Choosing between them is choosing what your sentence claims about the world.
When both can be right
Purdue points out a genuinely tricky case: “The new gym that has twelve racquetball courts” versus “The new gym, which has twelve racquetball courts.”
Both can be correct. If there are several new gyms nearby, that tells your reader which one you mean. If there is only one new gym, the courts are a bonus detail, and which with commas fits.
In other words, the rule depends on the real situation you are describing, not only on the grammar of the sentence. That is why no grammar checker can always get it right for you.
The quick test to use in your next email
Before you choose, cover the clause with your finger and reread the sentence. If the sentence still points to the right thing, use which and add commas. If it suddenly could mean something else, use that and skip the commas.
Think of it this way: that narrows things down, which adds a side note. Once you remember the heart with four valves, you will never accidentally give anyone an unusual heart again.

