A compound sentence contains two or more independent clauses. This means that it essentially has B. two complete sentences that if desired can be separated completely by a period and not be fragments
The independent clauses are combined with either a comma and a FANBOY (for, and, nor, but, or, yet), or with a semicolon.
Hope this helped!
~Just a girl in love with Shawn Mendes