For coordinating conjunctions, comma use depends on the nature of the linked elements. If a coordinating conjunction joins two independent clauses, it usually should be preceded by a comma (e.g., We bathed the dog, but we couldn’t get him clean). If a coordinating conjunction links two listed elements, it doesn’t need a comma (e.g., We have a porcupine and a kangaroo).