Dependent clauses can also be formed when we use relative pronouns such as who, whom, which when or that.
A sentence like I will buy that pen when I get the money.
I will buy that pen is the independent clause. It can stand alone. It also expresses a complete thought or meaning.