While filling LPG in cylinders, a substance X is added to make the detection of leakage of LPG from the cylinder easy. The substance X is

Ethanethiol is added to LPG in cylinders so that the leak of the LPG gas from the cylinders becomes noticeable quickly as ethanethiol has very foul smell. The structure is as follows:

So the correct answer is B.