Photolysis is the part of photosynthesis occurs in the granum of a chloroplast where light is absorbed by chlorophyll; a type of photosynthetic pigment that converts the light to chemical energy. This reacts with water (H2O) and splits the oxygen and hydrogen molecules apart. During this process, the electrons in water are removed and passed to the reaction centre chlorophyll. The associated hydrogen ions are released from the water molecule, and after two water molecules are thus split, the oxygen atoms join to form molecular oxygen (O 2 ), a waste product of photosynthesis.