Yes, a comma is needed, because "which" is used in what is called a nonrestrictive clause, and nonrestrictive clauses require commas around them. Restrictive clauses use "that" instead of "which" and do not require commas. I've provided examples below.
Nonrestrictive clause:
I tossed the shirt, which had a coffee stain on it, into the hamper.
In this sentence, "which had a coffee stain on it" adds information about the shirt, but it is not used to identify a particular shirt.
Restrictive clause:
I tossed the shirt that had a coffee stain on it into the hamper.
In this sentence, "that had a coffee stain on it" is used to say that it was specifically that shirt that I tossed into the hamper. It indicates that one of the shirts had a coffee stain, and that was the shirt I tossed into the hamper.
While this answers more than the specific question asked, it is important to know that "which" is used in nonrestrictive clauses, and that is why the comma is needed.
If the extra phrase starting with "which" provides additional non-essential information, a comma before "which" is needed. This comma helps separate the phrase from the main clause of the sentence.
When a sentence includes an extra phrase beginning with the word "that," a comma is typically not needed. The phrase acts as an essential part of the sentence's structure and does not require a comma to set it off.
"that" or "which." Commas are typically used before non-essential information but are not necessary when the sentence structure already indicates that the information is integral to the main clause.
"and," "but," "or," or "nor." This is known as a coordinating conjunction. For example, "I like to hike and swim" does not need a comma before "and."
Yes, when using "as needed" as an adverbial phrase in a sentence, you do not need commas unless the phrase interrupts the flow of the sentence. For example, "Medication should be taken as needed for pain relief."
Yes, in most cases, you should use a comma after the phrase "every day" at the beginning of a sentence to separate it from the rest of the sentence. For example, "Every day, I go for a run in the park."
When a sentence includes an extra phrase beginning with the word "that," a comma is typically not needed. The phrase acts as an essential part of the sentence's structure and does not require a comma to set it off.
"that" or "which." Commas are typically used before non-essential information but are not necessary when the sentence structure already indicates that the information is integral to the main clause.
"and," "but," "or," or "nor." This is known as a coordinating conjunction. For example, "I like to hike and swim" does not need a comma before "and."
When the extra phrase begins with the word "and".
The phrase breaks no rules, but it is not a sentence.
Yes. There is no word or phrase in English that cannot begin or end a sentence.
Yes, when using "as needed" as an adverbial phrase in a sentence, you do not need commas unless the phrase interrupts the flow of the sentence. For example, "Medication should be taken as needed for pain relief."
Certainly! "Seldom do I have time to relax during the week."
Yes. Beginning, middle or end.
A period (.) a capital at the beginning of the next sentence
No, it's not. It has no subject or verb. Therefore, it is only a phrase.
"in our house" is the prepositional phrase in the sentence. It starts with the preposition "in" and includes the object "house".