What is the structure of the sentence?

Erica bought sugar at the store but forgot flour.









A.
compound







B.
compound-complex







C.
simple







D.
complex