At night plants consume oxygen and produce carbon dioxide.