The relative pronoun that is used with an essential clause, and the relative pronoun which is used with a nonessential clause. In 3-5 sentences, explain when to use each pronoun and the diffrence between the two types of relative clauses.

The relative pronoun "that" is used with an essential clause, also known as a restrictive clause, which provides necessary information to understand the main clause. "That" cannot be omitted from the sentence without changing its meaning. For example, in the sentence "The book that I borrowed from the library is very interesting," the essential clause "that I borrowed from the library" specifies which book is being referred to and is necessary for the sentence's meaning.

On the other hand, the relative pronoun "which" is used with a nonessential clause, also called a nonrestrictive clause, which provides additional information but is not necessary to understand the main clause. "Which" is set apart from the main clause by commas, and the sentence would still have the same meaning if the nonessential clause were removed. For instance, in the sentence "The book, which I borrowed from the library, is very interesting," the nonessential clause "which I borrowed from the library" gives additional information but does not affect the main point of the sentence.

So, the main difference between the two types of relative clauses is that essential clauses are crucial for the sentence's meaning and cannot be omitted, while nonessential clauses provide additional information but can be omitted without affecting the core meaning of the sentence.