human
What is the difference between a comma and semicolon?
assistant
A comma is used to separate items in a list, while a semicolon is used to separate independent clauses within a sentence. For example: The dog ran, jumped, and barked. I love you; please don't go.