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

1. "I enjoy hiking, swimming, and biking during the summer months." - The comma is needed to separate items in a series or list, making it easier for the reader to understand that these three activities (hiking, swimming, and biking) are being mentioned separately and not as one combined activity.

2. "After work, I went to the gym to exercise." - The comma is necessary to separate the introductory phrase "After work" from the main clause "I went to the gym to exercise." This helps clarify the order of events and provides a momentary pause for the reader.

3. "Jane, who is my best friend, lives in New York." - The commas are required to set off the nonrestrictive clause "who is my best friend" from the main clause "Jane lives in New York." This extra information is not essential to the sentence's meaning, but it adds additional detail about Jane.