Here is a somewhat-less-than-distinguished short worksheet on differentiating the use of that and which. As the worksheet’s text explains, these exercises are limited to the use of these two words as pronouns. If you look them up in the dictionary you’ll find usage advise on relative or restrictive clauses. I’m developing material on those areas of English usage, so stay tuned here.
If you find typos in this document, I would appreciate a notification. And, as always, if you find this material useful in your practice, I would be grateful to hear what you think of it. I seek your peer review.