human
Can you tell me the difference between a comma and a semicolon?
assistant
A comma is used to separate items in a list, while a semicolon is used to separate independent clauses. For example, "I like apples, bananas, and oranges."