When we take two or more independent clauses and join them together, we form a compound sentence. We usually connect the clauses with a COMMA and a coordinating CONJUNCTION,but you can also join them with a SEMICOLON.
The underline is the highlight part of your question.