Jan Ingenhousz said this quote

I observed that plants not only have a faculty to correct bad air in six to ten days, by growing in it...but that they perform this important office in a complete manner in a few hours; that this wonderful operation is by no means owing to the vegetation of the plant, but to the influence of light of the sun upon the plant.