Which of the following sentences contains an independent and dependent clause?
A.The boy likes cookies; the girl likes ice cream.
B.Once I went hiking with my best friend.
C.Billy Jo thinks that the sky is blue because the sun paints it each morning.
D.While dreaming, the dog chased a cat down the alleyway to the garbage dump.