I think I’ve talked about this before, but an independent clause expresses a complete thought, a dependent clause does not:

Julie studies at Perdu. (Independent)

When Julie was studying at Perdu… (Dependent because we’re not sure what happened—it’s not a complete thought.)