Simple sentences start with the subject and follow with the verb and the object: I shot the sheriff. From this simple foundation, you can create complex sentences by adding one or more dependent (or subordinate) clauses: I shot the sheriff, which is a capital offense.
Independent clause and dependent clause