The characteristic odour of garlic is due to

A ) A chloro compound

B ) A sulphur compound ✅

C ) A flourine compound

D ) Acetic acid