The following is an example of what kind of sentence?

Because it had rained earlier in the week, the game was cancelled.

A. Compound

B. Complex

C. Compound-complex

D. Simple