Active Transport - Through the use of ATP, active transport pumps molecules against a particular concentration gradient. Active transport occurs from a low concentration solute and moves to a high concentration of solute. Two examples of active transport would be endocytosis and exocytosis.
Passive Transport - Active transport is the movement of molecules down a gradient. Unlike passive transport, it goes from high to low concentration and does not require energy (such as cellular energy). Some examples would be osmosis and diffusion.
During the process of photosynthesis the plant would use carbon dioxide, sunlight and water in order to produce and release sugar and oxygen back into the air.