human
What is the difference between a comma and a semi-colon?
assistant
A comma is used to separate independent clauses within a sentence, while a semi-colon is used to separate items in a series or list. For example, "I want to eat pizza, pasta, and burgers." would be separated by commas, while "I want to eat pizza; pasta; and burgers." would be separated by semi-colons.