Nutrients and sunlight are two important factors for photosynthesis. Nutrients are necessary for keeping the plant alive these nutrients such as inorganic minerals are obtained by plants through soil. The sunlight is essential for splitting the molecules of water so as to produce oxygen as a product along with carbohydrates.