human
I'm a little confused about the different kinds of comma rules. Can you explain them for me?
assistant
The most common rule is that a comma should be placed before a coordinating conjunction like and, but, or, so, nor, etc. For example, "I want to go to the store, but I need to pick up my friend first." Another common rule is that a comma should be used after an introductory element in a sentence such as a phrase or clause. For example, "The dog ran away from home, which was not good for the dog."