Answer:
A compound sentence consists of two or more independent clauses joined with a comma and coordinating conjunction, also known as the FANBOYS (for, and, nor, but, or, yet, so). In addition, you can join independent clauses with a semicolon or with a semicolon, conjunction adverb, and a comma.
Explanation:
I like coffee. Mary likes tea. → I like coffee, and Mary likes tea.
Mary went to work. John went to the party. I went home. → Mary went to work, but John went to the party, and I went home.
Our car broke down. We came last. → Our car broke down; we came last.