Is the sentence a simple or a compound sentence? She likes sweets, but she seldom buys them for herself.

Acompound sentence
Bsimple sentence