Which of the following is a complex sentence?
A. We ran to the car in the rain.
B. It started to rain, and we ran to the car.
C. When the rain started, we ran to the car.
D. We ran to the car, but it wasn’t raining yet.