The correct option is
B It
Pronouns represent nouns that have been mentioned before.
The given sentence is about carbon dioxide, that 'the leaves break into carbon and oxygen'.
'It' is a pronoun that refers to things like carbon dioxide.
Hence option B is correct.
Option A: 'These' is a demonstrative that refers to plural countable nouns. But 'carbon dioxide' is an uncountable noun.
Option C: 'Them' refers to people, whereas 'carbon dioxide' is a thing.
Option D: 'Those' is demonstrative that refers to plural countable nouns whereas the noun 'carbon dioxide' is uncountable.
Hence options A, C and D are incorrect.