human
What is the difference between a comma and a semicolon?
assistant
A comma is used to separate independent clauses within a sentence, while a semicolon is used to join two related independent clauses. For example: "I like apples; I also like oranges."