A complex sentence is a sentence that has one main idea (independent clause) and at least one supporting idea (dependent clause). The dependent clause can't stand alone and depends on the main clause to make sense.
For example:
Although it was raining, they continued their journey.
She didn’t go to the party because she was feeling unwell.