human
I'm a little confused about what the difference is between a comma and a semicolon. Can you help me out?
assistant
A comma is used to separate items in a series, while a semicolon is used to join two independent clauses. For example: I have three dogs; they are all black.