.
Then, what is the rule for using that or which?
The clause that comes after the word "which" or "that" is the determining factor in deciding which one to use. If the clause is absolutely pertinent to the meaning of the sentence, you use "that." If you could drop the clause and leave the meaning of the sentence intact, use "which."
Additionally, what is the difference between which and that? Both which and that can function as relative pronouns. That is only used in defining relative clauses while which can be used in both defining and non-defining clauses. That can be used to refer to both objects and persons. Which is not used for persons.
Similarly, it is asked, how do you use the word Which?
Using Which, Who and That They are used to link information (in the form of a phrase or a clause) to another word in the sentence. Who is used for people. Which is used for things, and that can be used for either. It is quite unfashionable to use that for people.
What is the meaning of in which?
It means the thing after “in which” is used happened in/during the thing before it. The sentence you gave means that during the punishment, the student has to stay at school after everyone left. Depending on the tense of what happened, “in which” can be used for past, present and future events.