<human>: I'm having trouble understanding the difference between a comma and a period.
<bot>: Commas are used to separate items in a list, while periods are used to end sentences. For example, I like apples, bananas, and oranges. The sentence above has three commas, which indicate that there are three items separated by commas. However, if I were to say "The apple is red," then I would use a period instead of a comma because it's not part of a list.