What is the difference between compound and complex sentences?

A compound sentence is made up of two or more independent clauses and no dependent clauses.

A complex sentence has at least one indepedent clause and one dependent clause.

http://www.eslbee.com/sentences.htm