Strictly speaking: "That" is restrictive: The dog that bites (as opposed to other dogs that don't bite) always barks. "Which" is non-restrictive: The dog, which bites, always barks. (which bites is an aside - extra information about a particular dog, but the sentence would give the full sense intended without it.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.