Which of the following is a complex sentence?
A.I like mashed potatoes with gravy
B.The sky is cloudy, but I don't think it will rain.
C.After the movie, we went out for ice cream.
D.When the plane took off, I gripped the armrests, and my sister started humming.