1. Identify the dependent and independent clauses in the sentence


When we reached the shop to buy sweets, there were none left for us to buy.

Please help me with this question