human
Can you tell me the difference between a comma and a semicolon?
assistant
A comma is used to separate independent clauses in a sentence. It can also be used to separate items in a list or series. A semicolon is a punctuation mark that connects two independent clauses in a sentence, or two closely related independent clauses.