A complex sentence is a sentence that contains one independent clause (main clause) and one or more dependent clauses (subordinate clauses).
An independent clause can stand alone as a complete sentence, while dependent clauses rely on the independent clause for meaning and cannot stand alone.