Hey bot, Write three sentences, each using a comma in a different way. Explain why the comma is needed in each sentence.(4 points)

1) "I went to the store, which was closed, to buy some groceries."

In this sentence, the first comma is needed to set off the dependent clause "which was closed" from the rest of the sentence. It provides additional information about the store being closed. Without the comma, the sentence could be read as if the speaker went to a closed store to buy groceries.

2) "She finished her meal, put on her coat, and left the restaurant."
The commas in this sentence are used to separate items in a series. They help distinguish the distinct actions taken by the subject "she". Without the commas, the sentence would lose clarity, and it might imply that she finished her meal and put on her coat simultaneously.

3) "My dog, a golden retriever, is very friendly."
In this sentence, the commas are used to set off a non-essential clause that provides additional information about the subject "my dog". The clause "a golden retriever" is not necessary for the identification of the dog, but it adds descriptive detail. The commas help separate this extra information from the main sentence.