Complex sentence: She was on the last day of a holiday with two friends when she left them in their hotel room to go shopping for gifts for her family and friends.
Split into simpler sentences: She was on the last day of a holiday with two friends. She had left her friends in their hotel room to go shopping for gifts for her family and friends.