This can be used to join two independent clauses in a compound sentence.
What is a comma followed by a coordinating conjunction?
OR
What is a semicolon?
The italicized clause in the sentence below is this type of clause.
I washed the dishes while my mother did the laundry.
This is the dependent (subordinate) clause in the sentence, "Kate does not like cartoons because they are loud, so she does not watch them."
What is "because they are loud?"
"I have to go to the store I need to buy milk."
This is the subordinating conjunction in the sentence, "We went to the grocery store so that we could cook dinner."
OR
What is "I did not go to the beach."
"Brittney was upset that she could not focus on her homework."
The dependent clauses in the sentence, "While the students took the quiz, they were not allowed to talk to their neighbors, but they were allowed to use their notes if they were on an index card."
What is "while the students took the quiz" and "if they were on an index card."
There needs to be a comma before the coordinating conjunction.
Combine these phrases to create a compound-complex sentence.
I went to the ice cream shop.
I wanted a sundae.
It was closed.
I went to the bakery.