Types:
1. An independent clause: It expresses a complete thought (It is more like a sentence).
2. A dependent clause: It is usually a supporting part of a long sentence, and it cannot complete its meaning without taking help from the main clause.
Here are some examples of independent clauses (Italic):
NB. There is not fixed position of an independent clause. It can be at the very beginning of a sentence or middle and even at the end.
Here are the same examples with the dependent clauses shaded:
Note: These three dependent clauses (or subordinate clauses as they're also called) could have been independent clauses. However, the opening word(s) (in these examples after, Even though, and but) turned them into dependent clauses. The opening words are known as dependent words, the main type of which is subordinating conjunctions.
Clauses can play a variety of roles in sentences. A clause can act as a noun, an adjective, or an adverb.
(In this example, the clause acts like a noun.)
Compare the example above to this:
(Speech = noun)
My dog, who usually refuses to go near the water, dived in the canal to chase a water vole.
(In this example, the clause acts like an adjective.)
Compare the example above to this:
(Water-shy = adjective)
(This is an example of a restrictive clause. You cannot remove it. There are no commas.)
(This is an example of a non-restrictive clause. You can remove it. It's just additional information. That's why there are commas around it.)
(In this example, the clause acts like an adverb.)
Compare the example above to this:
(Recently = adverb)
Collected from: http://www.english-bangla.com/grammar