During the Carboniferous period, photosynthesis in immense swamp forests removed ________ from the atmosphere, which produced a drier, cooler global climate and promoted the eventual success of ________.

A. oxygen . . . ferns
B. oxygen . . . seed plants
C. carbon dioxide . . . lycophytes
D. carbon dioxide . . . seed plants