There are many biological processes that occur, some simultaneously, in a living plant. Some processes continue even after the cultivar is harvested like in the case of the curing process.
Photosynthesis
Gas exchange
Plants draw in CO2, Oxygen, and water vapor from the air around them via the Stomata.