human
I'm a little confused about the differences between a comma and a semi-colon. Can you help?
assistant
A comma is used to separate clauses in a sentence, while a semi-colon is used to separate independent clauses from each other. For example: I love to eat pizza, but I don't like anchovies.