write three sentences, each using a comma in a different way. explain why the comma is needed in each sentence

1. "I went to the store and bought milk, eggs, and bread."

In this sentence, the comma is needed to separate each item in a series or list (milk, eggs, and bread) to ensure clarity and avoid confusion. Without the comma, it would be unclear whether "milk eggs" or "egg bread" were being referred to.

2. "After work, I went to the gym."
Here, the comma is needed to indicate a pause in the sentence, separating the introductory phrase "After work" from the main clause "I went to the gym." This helps the reader or listener understand the order of events and the relationship between the two parts of the sentence.

3. "She is a talented, intelligent woman."
The comma is needed in this sentence to separate two adjectives describing the noun "woman." The comma signifies a slight pause and helps the reader understand that both "talented" and "intelligent" are describing the same person, rather than two unrelated qualities of different people.

1. "I went to the grocery store to buy apples, oranges, and bananas." - The comma is needed in this sentence to separate the items in a list.

2. "She studied hard for the test, yet she still didn't pass." - Here, the comma is used to separate the two independent clauses joined by the coordinating conjunction "yet."
3. "After finishing her meal, Sarah went for a walk." - In this sentence, the comma is required to set off the dependent clause "After finishing her meal" from the main clause "Sarah went for a walk."

1. The barking dog, running through the park, startled the children. In this sentence, the comma is used to separate two descriptive phrases ("barking dog" and "running through the park") which both provide additional information about the subject ("the dog"). The comma helps clarify the individual elements of the sentence and enhances readability.

2. New York City, the most populous city in the United States, is known for its iconic landmarks. Here, the comma is placed before and after the additional information ("the most populous city in the United States") to set it apart from the main subject ("New York City"). It helps to highlight this descriptive phrase and make it stand out within the sentence.

3. I enjoy hiking, swimming, and playing guitar in my free time. In this sentence, the comma is used to separate items in a list. By using commas to separate the activities, it avoids confusion and ensures clarity about the different activities the speaker enjoys during their free time.