There are two main types of relative clauses:
1) Non-defining clauses which provide extra information about a noun but are not essential to the meaning of the sentence. These are usually separated by commas.
2) Defining clauses which provide essential information about a noun.