A compound sentence is a sentence that contains at least two independent clauses, which are joined by a coordinating conjunction or a semicolon. This structure allows for the combination of two complete thoughts into one sentence, creating more complex ideas and improving the flow of writing.