What type of sentence is created when an independent clause and a dependent clause are joined?

Example: The boys did not go to the park because they went to the zoo.

A.compound

B.complex

C.simple

D.conjoined