Is the sentence a simple or a compound sentence?


She likes sweets, but she seldom buys them for herself.

A.simple sentence

B.compound sentence