Photosynthesis separate carbon-dioxide in the atmosphere in to oxygen and carbon, using the sunlight. Thus Photo synthesis absorbs of heat or light energy that is contained in sunlight. In this way the inputs to the photosynthesis process are carbon-dioxide and light energy, and the outputs are Oxygen and carbon. Oxygen is released in the atmosphere while the carbon is used up in making food for the plants.
The amount of oxygen and carbon atoms released by photosynthesis are exactly equal to the atoms of these material contained in carbon-dioxide converted. In this way photosynthesis has conserved the mass or material, and in this way followed the law of conservation of mass.
Photo synthesis also follows the law of conservation of energy. The energy of sunlight used in the process of photosynthesis is absorbed by the molecules of carbon-dioxide before they can separate in carbon and oxygen molecules. This absorbed energy is present in the carbon and oxygen molecules and can be releases again as energy of combustion produced when carbon and oxygen combine to produce carbon dioxide.
The Law of the Conservation of Mass states that during a chemical reaction, matter is neither created nor destroyed. That means the amount of matter present before the reaction is equal to the amount of matter present after the reaction. Photosynthesis occurs only in cells with chloroplasts. Plants need light, carbon dioxide, and water to perform it. First, chlorophyll and other pigments trap light energy from the sun. This energy is then used to combine carbon dioxide and hydrogen to make a sugar called glucose. Even though plants gain mass, they only gain mass because they use the glucose they produce to help them grow. When a plant grows, it gains mass. The amount of matter before photosynthesis doesn't change. The plant's atoms are simply reconfigured. The plant uses what it produces through photosynthesis, a chemical reaction, to help it gain mass. Therefore, it doesn't gain mass through the chemical reaction. It gains mass by using what it produced through the chemical reaction, which means that the amount of matter before the reaction equals the amount of matter after the reaction. It is in this way that photosynthesis is an example of the Law of the Conservation of Mass.