"that" is essential information, "which" is incidental. For example, "Taxis that are dirty are banned in the city." versus "Taxis, which are dirty, are banned in the city."
Punctuation obviously matters in demarcating these things as well, of course!
no subject
Punctuation obviously matters in demarcating these things as well, of course!