Option (B) is correct.
Explanation:
Carbon has 4 valence electrons and needs 4 more to complete its octet. Each sulfur has 6 valence electrons and needs 2 more.
Each sulfur shares 2 of its electrons with carbon, and carbon shares 2 of its electrons with that sulfur. So between carbon and each sulfur there are two shared pairs, that is, a double bond, like the double bond in an oxygen molecule.
Total shared pairs =2+2=4 (S=C=S).
Check: carbon now has 4+4=8 electrons around it, and each sulfur has 6+2=8.
Why the other options are wrong
- (A) 2 pairs would mean single bonds (one pair to each sulfur). Then carbon would have only 6 electrons and each sulfur only 7, so no octet is complete.
- (C) 8 is the number of shared electrons (4 pairs × 2), not the number of pairs.
- (D) 6 adds the 4 electrons carbon needs to the 2 electrons one sulfur needs. Sharing works in pairs between two atoms, so this sum is not the number of shared pairs.